mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
minor doc updates
This commit is contained in:
parent
b80f33d14d
commit
1da327c725
7 changed files with 22 additions and 13 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Anki
|
# Anki
|
||||||
|
|
||||||
|
[](https://buildkite.com/ankitects/anki-ci)
|
||||||
|
|
||||||
This repo contains the source code for the computer version of Anki.
|
This repo contains the source code for the computer version of Anki.
|
||||||
|
|
||||||
If you'd like to try development builds of Anki but don't feel comfortable
|
If you'd like to try development builds of Anki but don't feel comfortable
|
||||||
building the code, please see https://betas.ankiweb.net/#/
|
building the code, please see https://betas.ankiweb.net/#/
|
||||||
|
|
||||||
For more information on building, please see [Development](./docs/development.md).
|
For more information on building, please see [Development](./docs/development.md).
|
||||||
|
|
||||||
[](https://buildkite.com/ankitects/anki-ci)
|
|
||||||
|
|
2
platforms/README.md
Normal file
2
platforms/README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Platform constraints. Currently only used to control wheel filenames
|
||||||
|
on a per-platform basis.
|
3
pylib/README.md
Normal file
3
pylib/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Anki's Python library code is in anki/.
|
||||||
|
|
||||||
|
The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.
|
|
@ -19,12 +19,3 @@ features = ["extension-module", "abi3"]
|
||||||
name = "rsbridge"
|
name = "rsbridge"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
#[profile.dev]
|
|
||||||
#opt-level = 2
|
|
||||||
#debug = 0
|
|
||||||
#codegen-units = 256
|
|
||||||
|
|
||||||
#[profile.dev.package."*"]
|
|
||||||
#opt-level = 3
|
|
||||||
#codegen-units = 16
|
|
||||||
|
|
1
qt/README.md
Normal file
1
qt/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Python's Qt GUI is in aqt/
|
|
@ -1 +1,10 @@
|
||||||
To build from scratch, please see https://github.com/ankitects/anki
|
Anki's Rust code.
|
||||||
|
|
||||||
|
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.
|
||||||
|
|
||||||
|
Rust editor support is still fairly new, but currently Visual Studio Code + Rust Analyzer seems to be the least bad option. For the latter, you'll want to enable the options to expand proc macros, and run cargo check on startup.
|
||||||
|
|
||||||
|
After running 'code .' from this folder, it may take Rust Analyzer a while to become ready, and you may need to save a file to trigger it to run.
|
||||||
|
|
||||||
|
You may also want to enable the worker mentioned in ../docs/development.md when compiling from a
|
||||||
|
terminal.
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
To add a new dev dependency:
|
Anki's TypeScript and Sass dependencies. Some TS/JS code is also
|
||||||
|
stored separately in ../qt/aqt/data/web/.
|
||||||
|
|
||||||
|
To add a new dev dependency, use something like:
|
||||||
|
|
||||||
bazel run @nodejs//:yarn add @rollup/plugin-alias -- -D
|
bazel run @nodejs//:yarn add @rollup/plugin-alias -- -D
|
||||||
|
|
Loading…
Reference in a new issue