Fix theme toggle: add _partials override for Docsy (#1504) * Fix text selection blocked by sticky button containers The scroll-to-top and suggest-change button containers are full-width sticky elements (width: 100%) that sit at the bottom of the page. Even though the buttons are small, the invisible container spans the entire page width, intercepting pointer events and preventing text selection behind it. Fix: pointer-events: none on the containers, pointer-events: auto on the actual buttons. * 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. * Remove unused partials/theme-toggler.html (superseded by _partials/)
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.