-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from ReadAlongs/dev.ej/mkdocs
Convert the documentation from sphinx .rst to mkdocs .md Fixes #213
- Loading branch information
Showing
22 changed files
with
825 additions
and
887 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Deploy docs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
docs: | ||
# Create latest docs | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # to push to the gh-pages branch | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # needed to get the gh-pages branch | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
- name: Install dependencies and Studio | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install wheel | ||
pip install -r docs/requirements.txt -e . | ||
- name: Setup doc deploy | ||
run: | | ||
git config user.name 'github-actions[bot]' | ||
git config user.email 'github-actions[bot]@users.noreply.github.com' | ||
- name: Deploy docs with mike 🚀 | ||
run: | | ||
mike deploy --push --update-aliases dev latest |
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 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,32 @@ | ||
# Contributing to the documentation | ||
|
||
## Edit the files | ||
|
||
To contribute to the ReadAlongs Studio documentation, edit the `.md` files in | ||
this folder. | ||
|
||
The configuration is found in `../mkdocs.yml`. | ||
|
||
## Build and view the documentation locally | ||
|
||
To build the documentation and review your own changes locally: | ||
|
||
1. Install the required build software, mkdocs and friends: | ||
|
||
pip install -r requirements.txt | ||
|
||
2. Install Studio itself | ||
|
||
(cd .. && pip install -e .) | ||
|
||
3. Run this command to serve the documentation locally: | ||
|
||
(cd .. && mkdocs serve) | ||
|
||
4. View the documentation by browing to <http://localhost:8000>. | ||
|
||
## Publish the changes | ||
|
||
Once your changes are pushed to GitHub and merged into `main` via a Pull | ||
Request, the documentation will automatically get built and published to | ||
<https://readalong-studio.readthedocs.io/en/latest/> |
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
Oops, something went wrong.