-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(website): ✨ added basic website boilerplate * chore: 🔧 added automatic reloading to site dev scripts * feat(website): ✨ added tailwindcss * feat(website): ✨ added initial landing page * feat(website): ✨ added landing page * chore(website): 🔧 make browsersync allow non-extensioned files * feat(website): ✨ added comparisons page and improved mobile support on landing page * refactor(book): ♻️ refactored book for website deployment * refactor(book): ♻️ refactored book for i18n * refactor(book): ♻️ refactored docs for new links systems * feat(website): ✨ created basic docs system with generation No styling yet at all, but the pages are all generated. * feat(website): ✨ added docs stability system No proper diplaying yet though. * refactor(book): ♻️ removed `no_run` directives in docs * refactor(book): ♻️ corrected titles in `SUMMARY.md` files * feat(website): ✨ created a docs system * feat(website): ✨ added docs version switcher * refactor(book): ♻️ made all line includes use new directive `#lines_include` * feat(website): ✨ added code including Can't include specific lines yet though. * feat(website): ✨ added support for including specific lines * docs(book): ✏️ fixed 'amlagamation' typo * fix(website): 🐛 fixed prism load failures Caused by #46. * feat(website): ✨ created placeholder for comparisons page Needs to be more mobile-friendly, that'll come soon. * chore: 🔧 added `rust-toolchain` for netlify * chore(website): 📦 added `pkg/` to build temporarily This might rectify Netlify deployment issues. * chore(website): 🙈 removed `pkg/` Abandoning Netlify for this. * fix(website): 🐛 fixed docs version switcher in dark mode * fix(website): 🐛 fixed status messages in dark mode * chore(website): 🔧 added bonnie script to deploy site * ci(website): 👷 added ci build for website * ci(website): 💚 fixed ci for tailwindcss We now use `npx` for the production build. * refactor(website): 🚨 silenced linter warnings for comparisons page placeholder Removed `components/comparisons.rs` from the module, but kept the file. * ci(website): 💚 fixed ci by adding `npm install` stage * ci(website): 👷 updated ci build for full deployment * docs: 📝 added warning notice to readme about switch to website
- Loading branch information
1 parent
63e1431
commit 45a0f6c
Showing
213 changed files
with
3,585 additions
and
1,284 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Compile and Deploy Website | ||
|
||
on: | ||
push: | ||
paths: | ||
- "docs/**" | ||
- "website/**" | ||
- ".github/workflows/website.yml" # If we change this build script, it should rerun | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: cargo install bonnie | ||
- run: cargo install wasm-pack | ||
- run: cargo install perseus-cli --version 0.3.0-beta.6 | ||
- run: npm install | ||
working-directory: website | ||
- name: Build website | ||
run: bonnie site deploy | ||
- name: Deploy website to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: website/pkg | ||
publish_branch: gh-pages |
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
"examples", | ||
"testing", | ||
"templates", | ||
"exporting" | ||
"exporting", | ||
"website" | ||
] | ||
} |
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
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
- [Introduction](/docs/intro) | ||
- [Setup](/docs/setup) | ||
- [Architecture](/docs/arch) | ||
- [Building Your First App](/docs/tutorials/first_app/intro) | ||
- [Installation and Setup](/docs/tutorials/first_app/setup) | ||
- [Writing Your First Template](/docs/tutorials/first_app/template) | ||
- [Setting up the App Itself](/docs/tutorials/first_app/app) | ||
- [CLI](/docs/cli) | ||
- [Templates](/docs/templates) | ||
- [Routing](/docs/routing) | ||
- [Error Pages](/docs/error_pages) | ||
- [Rendering Strategies](/docs/strategies/intro) | ||
- [Build Paths](/docs/strategies/build_paths) | ||
- [Build State](/docs/strategies/build_state) | ||
- [Request State](/docs/strategies/request_state) | ||
- [Revalidation](/docs/strategies/revalidation) | ||
- [Incremental generation](/docs/strategies/incremental) | ||
- [Building](/docs/building) | ||
- [Serving](/docs/serving) | ||
- [Actix Web Integration](/docs/integrations/actix-web) | ||
- [Config Managers](/docs/config_managers) |
File renamed without changes.
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
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
File renamed without changes.
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.