-
Notifications
You must be signed in to change notification settings - Fork 4
Migrate docs to MkDocs Material + GitHub Pages #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sbryngelson
merged 11 commits into
comp-physics:master
from
sbryngelson:mkdocs-readthedocs
Mar 5, 2026
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5b47311
Migrate docs to MkDocs Material + Read the Docs
sbryngelson 4b606e7
Fix trailing space in index.md and dead link to removed PDF
sbryngelson 7caa07f
Add MathJax support for LaTeX math rendering
sbryngelson 272c6e2
Fix dead links: Caltech, Sandia, and RTD placeholder
sbryngelson 1ba4dfa
Fix Sandia HPC link to correct URL
sbryngelson f4d1452
Fix trailing space in index.md
sbryngelson e8bd094
Fix Wayback Machine URL to use valid snapshot date
sbryngelson 82385f8
Redesign home page: inline nav links, copyright footer
sbryngelson dbb0db8
Switch deployment to GitHub Pages under comp-physics org
sbryngelson 7eabc16
Add gitignore and remove build artifacts
sbryngelson aba3e5e
Merge upstream master, add FAQ page
sbryngelson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,41 @@ | ||
| name: Deploy docs | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| - name: Build docs | ||
| run: | | ||
| pip install zensical | ||
| zensical build | ||
|
|
||
| - uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: site/ | ||
|
|
||
| deploy: | ||
| needs: build | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| steps: | ||
| - id: deployment | ||
| uses: actions/deploy-pages@v4 | ||
This file contains hidden or 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,18 @@ | ||
| name: Markdown Lint | ||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Markdown Lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Run markdownlint | ||
| uses: DavidAnson/markdownlint-cli2-action@v19 | ||
| with: | ||
| globs: "docs/**/*.md" |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Spell Check | ||
| uses: crate-ci/typos@master | ||
|
Comment on lines
15
to
16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2. Typos action not pinned The spell-check workflow uses crate-ci/typos@master, which is a mutable branch reference and increases supply-chain risk and non-deterministic CI behavior. Agent Prompt
|
||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,15 +1,11 @@ | ||
| *tags | ||
| tags | ||
|
|
||
| *.DS_Store | ||
| site/ | ||
| .DS_Store | ||
|
|
||
| **.aux | ||
| **.fls | ||
| **.synctex.gz | ||
| **.log | ||
| **.fdb_latexmk | ||
| **.bbl | ||
| **.blg | ||
| **.spl | ||
| **.out | ||
| *.aux | ||
| *.fdb_latexmk | ||
| *.fls | ||
| *.log | ||
| *.synctex.gz | ||
| *.bbl | ||
| *.blg | ||
| *.out | ||
| *.spl |
This file contains hidden or 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,7 @@ | ||
| default: false | ||
|
|
||
| # Rules that affect rendering | ||
| MD001: true # heading increment | ||
| MD032: true # blank lines around lists | ||
| MD012: true # no multiple blank lines | ||
| MD009: true # no trailing spaces |
This file contains hidden or 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,65 @@ | ||
| :root { | ||
| --md-primary-fg-color: #292929; | ||
| --md-primary-fg-color--light: #3a3d3f; | ||
| --md-primary-fg-color--dark: #292929; | ||
| --md-accent-fg-color: #c0995e; | ||
| --md-accent-fg-color--transparent: #c0995e1a; | ||
| } | ||
|
|
||
| [data-md-color-scheme="slate"] { | ||
| --md-default-bg-color: #292929; | ||
| --md-default-bg-color--light: #2e3133; | ||
| --md-default-bg-color--lighter: #3a3d3f; | ||
| --md-default-bg-color--lightest: #454849; | ||
| } | ||
|
|
||
| .md-header { | ||
| background-color: #292929; | ||
| color: #fff; | ||
| } | ||
|
|
||
| .md-header a, | ||
| .md-header__topic, | ||
| .md-header__title { | ||
| color: #fff; | ||
| } | ||
|
|
||
| .md-header__topic { | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| a { | ||
| color: #c0995e; | ||
| } | ||
|
|
||
| a:hover { | ||
| color: #d4b07a; | ||
| } | ||
|
|
||
| .md-nav__link--active, | ||
| .md-nav__link:hover { | ||
| color: #c0995e; | ||
| } | ||
|
|
||
| .md-nav--secondary .md-nav__link--active { | ||
| color: #c0995e; | ||
| background-color: transparent; | ||
| border-left: 2px solid #c0995e; | ||
| } | ||
|
|
||
| .md-typeset a { | ||
| color: #c0995e; | ||
| } | ||
|
|
||
| .md-typeset a:hover { | ||
| color: #d4b07a; | ||
| } | ||
|
|
||
| .md-header__button.md-logo img { | ||
| height: 2.5rem; | ||
| width: auto; | ||
| } | ||
|
|
||
| .md-footer { | ||
| display: none; | ||
| } |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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,12 @@ | ||
| window.MathJax = { | ||
| tex: { | ||
| inlineMath: [["\\(", "\\)"], ["$", "$"]], | ||
| displayMath: [["\\[", "\\]"], ["$$", "$$"]], | ||
| processEscapes: true, | ||
| processEnvironments: true | ||
| }, | ||
| options: { | ||
| ignoreHtmlClass: ".*|", | ||
| processHtmlClass: "arithmatex" | ||
| } | ||
| }; |
9 changes: 1 addition & 8 deletions
9
group-syllabus/challenges.md → docs/group-syllabus/challenges.md
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Non-reproducible docs deploy
🐞 Bug⛯ ReliabilityAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools