-
Notifications
You must be signed in to change notification settings - Fork 82
Migrate to Zensical #654
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
Merged
Migrate to Zensical #654
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
469eecd
feat: migrate to Zensical
NoaHimesaka1873 220e761
feat: new gh build
NoaHimesaka1873 62596fa
fix: workflow permissions
NoaHimesaka1873 a111b93
feat: use our logo
NoaHimesaka1873 fd816f2
fix: replace mkdocs in requirement.txt with Zensical
NoaHimesaka1873 eb70866
Merge branch 'master' into test/zensical-migration
NoaHimesaka1873 5ddee1d
feat: use actual redirect
NoaHimesaka1873 d389328
misc: replace logo with small one
NoaHimesaka1873 e9735f1
Revert "misc: replace logo with small one"
AdityaGarg8 a66c82d
Remove unused filter
AdityaGarg8 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 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 |
|---|---|---|
|
|
@@ -3,6 +3,10 @@ on: | |
| push: | ||
| branches: | ||
| - master | ||
| permissions: | ||
| contents: read | ||
| pages: write | ||
| id-token: write | ||
|
|
||
| jobs: | ||
| lint: | ||
|
|
@@ -18,12 +22,16 @@ jobs: | |
| name: Deploy docs | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout master | ||
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Deploy docs | ||
| uses: mhausenblas/[email protected] | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| CUSTOM_DOMAIN: wiki.t2linux.org | ||
| EXTRA_PACKAGES: build-base | ||
| - uses: actions/configure-pages@v5 | ||
| - uses: actions/checkout@v5 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.x | ||
| - run: pip install zensical | ||
| - run: zensical build --clean | ||
| - run: bash -c "echo 'wiki.t2linux.org' > build/CNAME" | ||
| - run: bash -c "cp -r redirs/* build/guides" | ||
| - uses: actions/upload-pages-artifact@v4 | ||
| with: | ||
| path: build | ||
| - 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 |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| # mkdocs | ||
| build/ | ||
| build/ | ||
| .DS_Store |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Redirecting...</title> | ||
| <link rel="canonical" href="../postinstall/"> | ||
| <script>var anchor=window.location.hash.substr(1);location.href="../postinstall/"+(anchor?"#"+anchor:"")</script> | ||
| <meta http-equiv="refresh" content="0; url=../postinstall/"> | ||
| </head> | ||
| <body> | ||
| You're being redirected to a <a href="../postinstall/">new destination</a>. | ||
| </body> | ||
| </html> |
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,13 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Redirecting...</title> | ||
| <link rel="canonical" href="../wifi-bluetooth/"> | ||
| <script>var anchor=window.location.hash.substr(1);location.href="../wifi-bluetooth/"+(anchor?"#"+anchor:"")</script> | ||
| <meta http-equiv="refresh" content="0; url=../wifi-bluetooth/"> | ||
| </head> | ||
| <body> | ||
| You're being redirected to a <a href="../wifi-bluetooth/">new destination</a>. | ||
| </body> | ||
| </html> |
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,6 +1,4 @@ | ||
| # This file contains the direct dependencies required for building the docs | ||
| # To install them all run 'pip install -r requirements.txt' in the same directory | ||
|
|
||
| mkdocs == 1.6.1 | ||
| mkdocs-material == 9.6.23 | ||
| mkdocs-redirects == 1.2.2 | ||
| zensical == 0.0.4 |
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.
Uh oh!
There was an error while loading. Please reload this page.