-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
73 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | ||
- uses: actions/cache@v4 | ||
with: | ||
key: mkdocs-material-${{ env.cache_id }} | ||
path: .cache | ||
restore-keys: | | ||
mkdocs-material- | ||
- run: pip install ".[DOCS]" | ||
- name: Build the documentation | ||
run: mkdocs build | ||
|
||
deploy: | ||
if: github.event_name == 'push' | ||
name: Deploy | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | ||
- uses: actions/cache@v4 | ||
with: | ||
key: mkdocs-material-${{ env.cache_id }} | ||
path: .cache | ||
restore-keys: | | ||
mkdocs-material- | ||
- run: pip install ".[DOCS]" | ||
- name: Publish the documentation | ||
run: mkdocs gh-deploy --force --dirty |
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
|
||
<img width=50% src="docs/assets/images/logo.png" alt="Fast-LLM Logo"></img> | ||
|
||
[![Docker Build][docker-badge]][docker] | ||
[![Documentation Build][docs-badge]][docs] | ||
[![Docker][ci-badge]][ci] | ||
[![Documentation][docs-badge]][docs] | ||
[![License][license-badge]][license] | ||
|
||
*Accelerating your LLM training to full speed* | ||
|
@@ -144,10 +144,10 @@ For security issues, email [[email protected]](mailto:psirt-oss@serviceno | |
[roadmap]: https://github.com/ServiceNow/Fast-LLM/milestones | ||
[issues]: https://github.com/ServiceNow/Fast-LLM/issues | ||
[docker-badge]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/build-and-push-docker.yaml/badge.svg | ||
[docker]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/build-and-push-docker.yaml | ||
[docs-badge]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/deploy-documentation.yaml/badge.svg | ||
[docs]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/deploy-documentation.yaml | ||
[ci-badge]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/ci.yaml/badge.svg | ||
[ci]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/ci.yaml | ||
[docs-badge]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/docs.yaml/badge.svg | ||
[docs]: https://github.com/ServiceNow/Fast-LLM/actions/workflows/docs.yaml | ||
[license-badge]: https://img.shields.io/badge/License-Apache%202.0-blue.svg | ||
[license]: LICENSE | ||
[servicenow-research]: https://www.servicenow.com/research/ | ||
|
This file was deleted.
Oops, something went wrong.
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