Anki/docs
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
..
docker Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
syncserver 🐬Containerize anki-sync-server (#3036) 2024-03-01 15:15:02 +07:00
architecture.md Updated permalink to architecture visualization (#2001) 2022-08-05 14:47:38 +10:00
build.md Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
contributing.md Facilitate hook updating/replacement (#2213) 2022-12-07 15:39:57 +10:00
development.md Tweaks to Windows build instructions 2023-11-20 11:59:08 +10:00
editing.md Minor Rust cleanups (#2272) 2022-12-16 21:40:27 +10:00
linux.md Refactor offline build process and add offline generation of Sphinx docs (#3082) 2024-03-27 13:51:09 +00:00
mac.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
ninja.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
protobuf.md Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
windows.md Tweaks to Windows build instructions 2023-11-20 11:59:08 +10:00