The code that powers Ariadne website, made with 🦖 Docusaurus.
This repository uses Git submodules to include documentation from the ariadne and ariadne-codegen repositories. The submodules are essential for the website to build and function correctly.
When cloning this repository for the first time, you need to initialize and update the submodules:
# Clone the repository with submodules
git clone --recurse-submodules https://github.com/mirumee/ariadne-website.git
# Or if you've already cloned without submodules, initialize them:
git submodule update --init --recursiveThis will:
- Initialize the
ariadnesubmodule (server documentation) - Initialize the
ariadne-codegensubmodule (client documentation)
The submodules should be kept synchronized with specific GitHub tags/versions. To update a submodule to a specific tag:
# Navigate to the submodule directory
cd ariadne # or cd ariadne-codegen
# Fetch the latest tags
git fetch --tags
# Checkout the desired tag
git checkout <tag-name>
# Return to the root directory
cd ..
# Commit the submodule update
git add ariadne # or ariadne-codegen
git commit -m "Update ariadne submodule to <tag-name>"To update all submodules to their latest commits from their respective remotes:
git submodule update --remote --mergeTo see which commit each submodule is currently pointing to:
git submodule statusFor server documentation run:
npm run docusaurus docs:version:server x.x.xFor client documentation run:
npm run docusaurus docs:version:client x.x.xWhere x.x.x is your new version number.
Before publishing make sure that GIT_USER env variable is set and contains your GitHub username and USE_SSH is set to true!
- Make sure you are on
mainbranch cdtowebsitedirectory- run
npm run deploy
We are using algolia docsearch for the search. Site is indexed automatically one in three days. To trigger it manually go to the crawler dashboard. We are using default crawler.
We are welcoming contributions! If you've found an issue or have any ideas or feedback, feel free to use GitHub issues to chime in.
For guidance and instructions, please see CONTRIBUTING.md.
Contents of this repository are licensed under the BSD three clause license.
Crafted with ❤️ by Mirumee Software [email protected]