Fix theme toggle not deploying: add _partials override for Docsy The Docsy theme uses layouts/_partials/ (underscore prefix) for its partials. Our theme-toggler.html was placed in layouts/partials/ (no underscore), so Hugo resolved Docsy's old dropdown version instead of our pill toggle. Copy the override to _partials/ to match Docsy's lookup path.
This is a repository of Apache Airflow website. The repository of Apache Airflow can be found here.
For more detailed description of directory structure, please refer to contributor's guide.
If you're a Macbook user, first install coreutils.
brew install coreutils
The Docsy theme required for the site to work properly is included as a git submodule.
This means that after you already cloned the repository, you need to update submodules
git submodule update --init --recursive
In order to build the site locally,
<ROOT DIRECTORY>/site.sh build-site.In order to preview landing pages, run script <ROOT DIRECTORY>/site.sh preview-landing-pages.
In order to work with documentation theme, please refer to Sphinx Airflow theme's readme file.
For more detailed description of site.sh capabilities, please refer to contributor's guide.
If you'd like to contribute to the Apache Airflow website project, read our contributor's guide where you can find detailed instructions on how to work with the website.