Anki/build/configure/src
antecrescent 58ce29f461
Refactor offline build process and add offline generation of Sphinx docs (#3082)
* Simplify the offline build

The two environment variables OFFLINE_BUILD and NO_VENV jointly provide
the ability to build Anki fully offline. This commit boils them down
into just one, namely OFFLINE_BUILD.

The rationale being that first, OFFLINE_BUILD implies the use of
a custom non-networked Python environment.
Second, building Anki with a custom Python environment in a networked
setting is a use case, that we currently do not support.
Developers in need of such a solution may want to give containerized
development environments a try. Users could also look into building
Anki fully offline instead.

* Add documentation for offline builds.

* Add support for offline generation of Sphinx documentation.

Control installation of Sphinx dependencies via the network through the
OFFLINE_BUILD environment variable.

* Add documentation for offline generation of Sphinx documentation.
2024-03-27 13:51:09 +00:00
..
aqt.rs Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00
bundle.rs Mac Qt bundle rebuilt without .dSYM files 2024-02-29 13:33:12 +07:00
main.rs Refactor offline build process and add offline generation of Sphinx docs (#3082) 2024-03-27 13:51:09 +00:00
platform.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
pylib.rs Move .py i18n method generation to Rust 2023-07-03 15:58:46 +10:00
python.rs Refactor offline build process and add offline generation of Sphinx docs (#3082) 2024-03-27 13:51:09 +00:00
rust.rs Ensure rsbridge gets rebuilt when buildhash changes 2024-03-01 13:25:56 +07:00
web.rs Replace css_browser_selector with our own implementation (#2854) 2023-11-30 10:57:33 +10:00