Anki/build/ninja_gen/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
..
action.rs Shift output suppression into n2 (#2618) 2023-08-23 11:59:52 +10:00
archives.rs Fix bundling 2023-07-02 18:22:44 +10:00
build.rs Fix ninja compatibility 2023-08-25 02:45:16 +10:00
cargo.rs Skip tests failing around rollover hour (#2909) 2023-12-28 18:06:19 +10:00
command.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
configure.rs Add option to use LTO in release builds 2023-07-02 18:22:44 +10:00
copy.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
git.rs Ensure PyOxidizer checked out when bundling 2024-02-13 10:56:53 +10:00
hash.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
input.rs Bump Rust version 2023-03-31 14:11:33 +10:00
lib.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00
node.rs Shift output suppression into n2 (#2618) 2023-08-23 11:59:52 +10:00
protobuf.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00
python.rs Refactor offline build process and add offline generation of Sphinx docs (#3082) 2024-03-27 13:51:09 +00:00
render.rs Revert "Revert "Pull in latest upstream n2 fixes"" 2023-08-31 08:31:43 +10:00
rsync.rs Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
sass.rs Migrate proto build actions to ninja_gen; switch from dyn Error to anyhow 2023-06-30 19:37:02 +10:00