mirror of
https://github.com/D-Modem/brand.git
synced 2026-11-28 17:58:05 -08:00
Sites: a site from a copy of docs/, its home page the README
pages/site_docs.py copies docs/ to .site/docs/ for a site whose mkdocs.yml says docs_dir: .site/docs (tools/site.sh runs it): the home page is the README, and links that leave docs/ go to the files on GitHub, so the same Markdown reads right on GitHub and on the site. The workflow runs the repository's prepare commands before the theme and the copy, so generated pages are in the copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
This commit is contained in:
4 files changed
+104
-2
No files matched your search
@@ -64,9 +64,9 @@ jobs:
|
||||
with:
|
||||
go-version: ${{ inputs.go-version }}
|
||||
- run: pip install -r .site/brand/pages/requirements.txt
|
||||
- run: .site/brand/tools/site.sh . prepare
|
||||
- if: inputs.prepare != ''
|
||||
run: ${{ inputs.prepare }}
|
||||
- run: .site/brand/tools/site.sh . prepare
|
||||
- run: zensical build --strict
|
||||
- uses: actions/upload-pages-artifact@v5
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user