shahar1 commented on code in PR #75001:
URL: https://github.com/apache/airflow/pull/75001#discussion_r4365848556


##########
contributing-docs/11_documentation_building.rst:
##########
@@ -241,6 +241,17 @@ For example:
 
 Will build ``fab`` provider documentation and clean build artifacts before.
 
+To try a change to the HTML theme (``sphinx_airflow_theme`` from the
+`airflow-site <https://github.com/apache/airflow-site>`_ repository) on real 
documentation, build with the
+theme folder of an ``airflow-site`` checkout instead of the published wheel:
+
+.. code-block:: bash
+
+    breeze build-docs apache-airflow --sphinx-airflow-theme-path 
../airflow-site/sphinx_airflow_theme
+
+Run ``./site.sh prepare-theme`` in ``airflow-site`` first to generate the 
theme's CSS/JS. Breeze mounts the

Review Comment:
   Done in 61758b63ff: the docs line, the `--sphinx-airflow-theme-path` help 
text and the `BadParameter` message now say `./site.sh build-landing-pages && 
./site.sh prepare-theme`.
   
   apache/airflow-site#1691 also fixes this on the `site.sh` side: 
`prepare-theme` and `build-airflow-docs` now rebuild the landing pages when the 
SCSS/JS sources are newer than the built bundle. Checked end to end with both 
branches: an SCSS edit in `airflow-site` showed up in the CSS of the 
`apache-airflow` docs built by `./site.sh build-airflow-docs`.
   
   ---
   Drafted-by: Claude Code (Opus 5.5); reviewed by @shahar1 before posting
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to