Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
ebce41a
feat: add mdbook docs
Zeglius Jul 31, 2024
f6c7356
chore: add several articles to docs
Zeglius Jul 31, 2024
f1d000b
docs: add documentation at surface level
Zeglius Jul 31, 2024
e3be3c6
docs: Add missing chapter emojis
Zeglius Aug 1, 2024
94c47fa
docs: Realocate 'Gaming' section under 'General'
Zeglius Aug 1, 2024
07a18e9
docs: Add 'Introduction' section
Zeglius Aug 1, 2024
8b50d6e
docs: Add unstable documentation warning
Zeglius Aug 1, 2024
46aa4f4
docs: Add missing github url
Zeglius Aug 1, 2024
8cbce1f
docs: Add discourse scrapper utility
Zeglius Aug 2, 2024
c3538ea
docs: minor discourse scrapper docs changes
Zeglius Aug 2, 2024
c17c783
docs: Add youtube embeding preprocessor
Zeglius Aug 3, 2024
1ce22b4
minor reformat for youtube-embed
Zeglius Aug 3, 2024
ec27cc9
docs: Add mdbook preprocessor template
Zeglius Aug 3, 2024
68d5eed
docs: add format-author preprocessor
Zeglius Aug 4, 2024
433dd2d
docs: add git lib to mdbook toolset
Zeglius Aug 4, 2024
74130ee
docs: Always fetch the highest quality image by fetch_discourse_md
Zeglius Aug 4, 2024
63c6164
docs: fix youtube-embed ignoring new line requirement
Zeglius Aug 4, 2024
b887ebe
docs: Add documentation transcription guide
Zeglius Aug 4, 2024
4eae894
docs: Missing url in transcription guide
Zeglius Aug 4, 2024
cd989d0
Merge remote-tracking branch 'upstream/main' into feat/mdbook
Zeglius Aug 5, 2024
ec24162
docs: Remove YAML header from doc guide
Zeglius Aug 5, 2024
ad6587a
docs: Minor tweaks to transcription guide
Zeglius Aug 5, 2024
48a57c1
docs: Add utilities preprocessor module
Zeglius Aug 6, 2024
53ee1e7
docs: tweak debug function
Zeglius Aug 6, 2024
a6bf1f3
docs: Add 'replace-urls' preprocessor
Zeglius Aug 6, 2024
d42769a
chore: Move mappings parameter in replace-urls preprocessor
Zeglius Aug 6, 2024
04f97c1
docs: add ignore field to replace-urls
Zeglius Aug 6, 2024
32e3096
docs: add Mdbook python types
Zeglius Aug 7, 2024
c27ac01
docs: Add ignore field to replace-urls
Zeglius Aug 7, 2024
3644edf
chore(ci): add deploy_docs
Zeglius Aug 9, 2024
3a58a7c
chore(ci): Add dynamic edit url template to deploy_docs
Zeglius Aug 9, 2024
eee1d96
chore(ci): Add html.site-url to deploy_docs
Zeglius Aug 9, 2024
6a781c6
chore(readme): Use relative paths for repo_content
Zeglius Aug 9, 2024
5b08f1c
chore(ci): Add README to included paths for deploy_docs
Zeglius Aug 9, 2024
396b972
chore(ci): Disable deploy_docs
Zeglius Aug 9, 2024
2ed0929
chore(ci): Use main in deploy_docs.on.push.branches
Zeglius Aug 9, 2024
0000de0
docs: Rephrase unstable docs warning
Zeglius Aug 9, 2024
3f21af7
chore(ci): Exclude docs from triggering build workflow
Zeglius Aug 9, 2024
761be1f
chore(ci): Enable deploy_docs
Zeglius Aug 9, 2024
f23182a
fix(docs): Remove unnecessary imports in preprocessors
Zeglius Aug 9, 2024
8b8f414
docs: Move unstable docs warning to index.hbs
Zeglius Aug 9, 2024
3eeb9a3
docs: Add page metadata inclusion with fetch_discourse_md.py
Zeglius Aug 10, 2024
e059865
docs: Move fetch_discourse_md.py to docs/utils
Zeglius Aug 10, 2024
8400049
docs: Add 'fetched_at' metadata field in fetch_discourse_md.py
Zeglius Aug 10, 2024
68eec7e
docs: Update fetch_discourse_md.py to format metadata in json
Zeglius Aug 10, 2024
68c5dc2
Revert "chore(readme): Use relative paths for repo_content"
Zeglius Aug 12, 2024
207a71e
docs: Replace include with an url to repo README
Zeglius Aug 12, 2024
3063d20
ci(docs): Add multilanguage doc build support
Zeglius Aug 12, 2024
adca5af
docs: add Justfile utility
Zeglius Aug 12, 2024
682d3eb
docs: update Justfile utility
Zeglius Aug 12, 2024
4342e9b
ci(docs): Add stricter workflow trigger to deploy_docs
Zeglius Aug 12, 2024
e0ed1bd
docs: add 'preview_translation' to Justfile
Zeglius Aug 13, 2024
00d6f9b
docs: add documentation translation guide
Zeglius Aug 13, 2024
25b860e
ci(docs): Add mdbook cache
Zeglius Aug 13, 2024
023d259
Merge remote-tracking branch 'upstream/main' into feat/mdbook
Zeglius Aug 13, 2024
0ad731e
ci(docs): Add i18n-report
Zeglius Aug 14, 2024
b1a2640
Merge remote-tracking branch 'upstream/main' into feat/mdbook
Zeglius Aug 14, 2024
772f7e5
ci(docs): tweak deploy_docs workflow triggers
Zeglius Aug 14, 2024
7a474c8
ci(docs): remove unnecessary slash at build.yml
Zeglius Aug 14, 2024
b100f60
ci(docs): remove unnecessary slash at deploy_docs.yml
Zeglius Aug 14, 2024
d91bb70
ci(docs): add docs/book.toml to deploy_docs trigger
Zeglius Aug 14, 2024
eaea38d
ci(docs): Add schedule trigger
Zeglius Aug 14, 2024
47b2ede
ci(docs): add github-pages cleaning
Zeglius Aug 14, 2024
fd7538d
ci(docs): Exclude docs from generate_changelog
Zeglius Aug 14, 2024
0f7d087
docs: Add dependencies installation script
Zeglius Aug 14, 2024
73e0fa7
ci(docs): Add mdbook pdf build
Zeglius Aug 15, 2024
15eac53
docs: Tweak Justfile to support pdf generation
Zeglius Aug 15, 2024
f5053b5
Revert "docs: Always fetch the highest quality image by fetch_discour…
Zeglius Aug 15, 2024
617f46d
ci(docs): Exclude deploy_docs.yml from cache-mdbook keys
Zeglius Aug 16, 2024
fafb234
docs: Add 'mdbook_build' to Justfile
Zeglius Aug 16, 2024
35ecbab
docs: Add 'mdbook_serve' to Justfile
Zeglius Aug 16, 2024
fa1069e
docs: Add debug flag to fetch_discourse_md
Zeglius Aug 16, 2024
d42a29c
docs: Automate discourse documentation scrapping
Zeglius Aug 16, 2024
6b1e215
docs: Add flock to fetch_discourse_md
Zeglius Aug 16, 2024
3f94944
docs: Add translation file generation with Justfile
Zeglius Aug 16, 2024
a685de4
docs: Prefix url replacements with site-url in replace-urls.py prepro…
Zeglius Aug 17, 2024
3483730
docs: Add installation guides
Zeglius Aug 17, 2024
777d805
Revert "docs: Prefix url replacements with site-url in replace-urls.p…
Zeglius Aug 17, 2024
1dd65ad
Reapply "docs: Prefix url replacements with site-url in replace-urls.…
Zeglius Aug 17, 2024
e8668d6
docs: fix replace-urls.py
Zeglius Aug 17, 2024
cda3246
Merge remote-tracking branch 'upstream/main' into feat/mdbook
Zeglius Aug 17, 2024
cadbbfe
docs: fix fetch_discourse_md.py hitting discourse ip_10_secs_limit
Zeglius Aug 18, 2024
aea8528
ci(docs): Remove duplicate '/' in build translation step
Zeglius Aug 18, 2024
fed53ae
ci(docs): Update actions/cache
Zeglius Aug 18, 2024
06bf7d2
ci(docs): Reduce deploy_docs schedule timespan between triggers
Zeglius Aug 18, 2024
7b4fda9
Merge remote-tracking branch 'upstream/main' into feat/mdbook
Zeglius Aug 18, 2024
02abbbd
docs: update install-deps.sh
Zeglius Aug 18, 2024
63f9897
docs: Update Advanced docs
Zeglius Aug 18, 2024
d371750
docs: Add favicon
Zeglius Aug 18, 2024
c197eb3
docs: Reword unstable documentation warning
Zeglius Aug 18, 2024
31ee415
docs: Change default theme to 'navy'
Zeglius Aug 18, 2024
48098a6
ci(docs): Move permisions to job scope
Zeglius Aug 19, 2024
c3e2893
Merge remote-tracking branch 'upstream/main' into feat/mdbook
Zeglius Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci(docs): Move permisions to job scope
  • Loading branch information
Zeglius committed Aug 19, 2024
commit 48098a6d13c1603b759a4362dea76c6943c05d84
15 changes: 9 additions & 6 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ on:
- docs/book.toml
workflow_dispatch:

permissions:
contents: read # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status

concurrency:
group: pages
cancel-in-progress: true
Expand All @@ -53,6 +48,11 @@ env:

jobs:
deploy:
permissions:
contents: read # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status

runs-on: ubuntu-latest
# environment:
# name: github-pages
Expand All @@ -67,7 +67,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: "3.12"

- name: Install python dependencies
run: |
Expand Down Expand Up @@ -150,11 +150,14 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
token: ${{ github.token }}

clean_cache:
needs: deploy
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
steps:
- uses: actions/checkout@v4
Expand Down