crystal_docs_sitemap
Version, currently master branch1 version
- master branchlatestSep 5, 2019
github.com/straight-shoota/crystal_docs_sitemap
Generator for Crystal API docs sitemap
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
crystal_docs_sitemap:
github: straight-shoota/crystal_docs_sitemap
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.30.1- License
- MIT
- Author
- Johannes Müller
- Target
crystal_docs_sitemapfrom src/app.cr
Dependencies
This version declares no dependencies.
README
docs-sitemap
This is a simple tool to build a sitemap index for Crystal API docs.
See https://github.com/crystal-lang/crystal-website/issues/79 for details.
- it queries the index file for each API version on https://crystal-lang.org/api
- it extracts each link from the navigation menu
- the links for each version are placed in a separate sitemap file and given a specific priority depending on how recent the version is
- references to all sitemaps are collected in a sitemap index file
Usage
> crystal run src/app.cr
The program generates the individual sitemap files in output/sitemaps/ and the
sitemap index at output/sitemap-index.xml.gz.
Contributing
- Fork it (https://github.com/straight-shoota/crystal_docs_sitemap/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Johannes Müller - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Sep 5, 2019
- Crystal
0.30.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/straight-shoota/crystal_docs_sitemap
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1