diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index b8704b87150b..7e746d75e197 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -14,7 +14,7 @@ on: env: - ZOLA_VERSION: 0.18.0 + ZOLA_VERSION: 0.19.2 # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@v4 - name: "Build website" - uses: shalzz/zola-deploy-action@master + uses: shalzz/zola-deploy-action@v0.19.2 env: BUILD_DIR: website TOKEN: fake-token diff --git a/website/config.toml b/website/config.toml index 23846d636983..e82bc24ee40c 100644 --- a/website/config.toml +++ b/website/config.toml @@ -14,6 +14,14 @@ compile_sass = false # Whether to build a search index to be used later on by a JavaScript library build_search_index = false +# When set to "true", a feed is automatically generated. +generate_feeds = true + +# The filename to use for the feed. Used as the template filename, too. +# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed. +# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed. +feed_filenames = ["atom.xml"] + #taxonomies = [ # {name = "tags", paginate_by = 5, feed = true}, # {name = "categories", paginate_by = 5, feed = true}, diff --git a/website/content/docs/_index.md b/website/content/docs/_index.md index 7e83d8c8b6c2..56c6eea1aaa9 100644 --- a/website/content/docs/_index.md +++ b/website/content/docs/_index.md @@ -6,7 +6,6 @@ title = "API Docs" description = "Latest documentation of the public API" -date = 2000-01-01 template = "docs.html" page_template = "page.html" sort_by = "date" @@ -23,4 +22,4 @@ To check out released crates, check out [docs.rs/gdnative][gdnative]. There are no releases for gdext yet. -[gdnative]: https://docs.rs/gdnative \ No newline at end of file +[gdnative]: https://docs.rs/gdnative diff --git a/website/templates/devlog-page.html b/website/templates/devlog-page.html index 1c68b4825fb3..5d07634146d3 100644 --- a/website/templates/devlog-page.html +++ b/website/templates/devlog-page.html @@ -7,6 +7,10 @@ {% extends "layout.html" %} +{% block page_head %} + +{% endblock %} + {% block content %}