-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See release notes.
- Loading branch information
Showing
1,062 changed files
with
12,628 additions
and
11,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Set standard UNIX/Linux/MacOSX line endings. | ||
* text eol=lf | ||
* text=auto eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.ico binary | ||
*.jpg binary | ||
*.bz2 binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,14 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Rust setup (ensures latest stable) | ||
- name: Set up Rust environment | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
components: rustfmt, clippy | ||
|
||
# Cargo setup | ||
- name: Set up Cargo cache | ||
uses: actions/cache@v2 | ||
|
@@ -35,20 +43,14 @@ jobs: | |
|
||
# Build project | ||
- name: Build project | ||
run: poetry install --with docs | ||
run: poetry install --with docs --all-extras | ||
|
||
- name: Get branch name | ||
id: branch-name | ||
uses: tj-actions/[email protected] | ||
|
||
# Build docs (develop) | ||
- name: Build docs (develop) | ||
if: ${{ steps.branch-name.outputs.current_branch == 'develop' }} | ||
run: make docs | ||
uses: tj-actions/branch-names@v6 | ||
|
||
# Build docs (latest) | ||
- name: Build docs (latest) | ||
if: ${{ steps.branch-name.outputs.current_branch == 'master' }} | ||
# Build docs | ||
- name: Build docs | ||
run: make docs | ||
|
||
# Add nojeckyll | ||
|
@@ -59,8 +61,21 @@ jobs: | |
- name: Add CNAME | ||
run: echo "docs.nautilustrader.io" >> docs/build/html/CNAME | ||
|
||
# Publish docs | ||
- name: Publish docs | ||
# Publish docs (develop) | ||
- name: Publish docs (develop) | ||
if: ${{ steps.branch-name.outputs.current_branch == 'develop' }} | ||
uses: s0/git-publish-subdir-action@develop | ||
env: | ||
REPO: self | ||
BRANCH: gh-pages | ||
FOLDER: docs/build/html | ||
SQUASH_HISTORY: false | ||
GITHUB_TOKEN: ${{ secrets.GHPAGES_ACCESS }} | ||
TARGET_DIR: develop | ||
|
||
# Publish docs (latest) | ||
- name: Publish docs (latest) | ||
if: ${{ steps.branch-name.outputs.current_branch == 'master' }} | ||
uses: s0/git-publish-subdir-action@develop | ||
env: | ||
REPO: self | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.