Chris Krycho
effecb884e
infra: rewrite rustup toolchain paths in update-rustc.sh
...
As with project paths, we do not want these to have the paths from the
user who runs `update-rustc.sh`, but some totally generic path.
2024-11-05 15:53:09 -07:00
Chris Krycho
b9241f6b14
infra: support listing deps in update-rustc.sh
2024-11-04 12:48:08 -07:00
Chris Krycho
df78a37109
infra: include ghp-import and git push in generate-preview script
2024-07-31 07:16:56 -06:00
Chris Krycho
de6e35c52f
infra: add robots.txt for GH Pages previews
...
Block *everything*. We do not want any of this to be indexed, because we
*only* use it for previews, and do not want its content to be cached or
(especially!) surfaced to readers, since it may have a variety of issues
ranging from pedagogical missteps to outright errors!
2024-07-31 07:05:42 -06:00
Chris Krycho
60993ce66f
infra: correctly support preprocessors for nostarch
...
- Update the `tools/nostarch` script to `cargo install` each of the
preprocessors so they are always available to run and do not require
any manual intervention.
- Add support for `"markdown"` renderer in the preprocessors.
2024-05-27 15:39:36 -06:00
Carol (Nichols || Goulding)
ea8cd41a84
Switch to double quotes as shellcheck suggests
2024-05-22 14:52:49 -04:00
Carol (Nichols || Goulding)
1755cce5cf
Update regex to account for new cargo output format
2024-05-22 14:52:49 -04:00
Carol (Nichols || Goulding)
82e1e05aef
Suppress new cargo clean output when regenerating output
2024-05-22 14:52:49 -04:00
Chris Krycho
593ec2af6a
Do not apply semantic note handling to nostarch
...
Introduce a `book.toml` in the `nostarch` directory, which matches the
existing `book.toml` except for specifying the correct relative input
and output directories and disabling the `trpl-note` preprocessor. This
also lets us simplify the invocation in the `nostarch.sh` script a bit,
by providing the configuration directly in the file.
2024-04-29 16:18:34 -06:00
Chris Krycho
f48b281275
Convert to a workspace
...
This will let us pull in, and work directly on, things like the
`mdbook-trpl-notes` preprocessor.
2024-04-29 09:27:34 -06:00
Yuri Astrakhan
c5211edeec
Apply clippy::uninlined_format_args fix
2024-04-19 15:20:22 -04:00
Yuri Astrakhan
f55ac5d8fa
Inline all format arguments
...
The inlined format arguments are a bit easier to understand,
especially for those familiar with the other languages (python, js).
2023-10-30 11:54:36 -04:00
Carol (Nichols || Goulding)
4ad07d9e17
Fix a problem with literal style ending
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
e593d2a53b
Fix ListNumber0, newlines after lists
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
c2bcf788c0
Don't match nodes without anything
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
af23aac799
Handle listing numbers in appendices too
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
1497658929
Number Table captions too
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
77bfbfe16f
Handle figures too
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
6e47fbf18f
Handle listing numbers
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
ef3535544a
Fix ListBullet0
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
6e4c1fdd00
Handle ending of BoxCode better
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
3bb78e3834
Make RunInHead consistent-ish
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
10a359522a
Fix extra newline before boxes
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
82c3400344
Fix Box RunIn Head/Para
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
324d8ba8e2
Fix newline after RunInHead/Para
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
739c283cf2
Fix QuotePara
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
03cd731b27
Fix ListPlain
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
4d2924a3cc
Fix BoxCode
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
a4ff67d919
Fix GraphicSlug and CaptionLine
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
5761b4b39a
Fix boxes a bit
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
ecbe0c4ebc
Add a shellcheck ignore
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
568562e065
Handle BoxListBullet
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
d1d0af3c08
Handle superscript
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
b65ef142be
Regenerate ch3 from xml and fix tables
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
4a96535873
Fix italics and whitespace interactions
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
b2338dbc55
Fix italic preceding/following
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
e688ccd4bb
Fix preceding/following xpaths again
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
024ce6824a
Fix italics
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
7fce2247cf
Fix code blocks
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
434b32049f
Fix more last bullets in lists
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
72053d98cc
Fix box newlines
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
a64cbd9c5b
Fix last bullet in a list
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
11b05627f3
Fix BoxType
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
a507176c6d
Fix notes
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
13be2da699
Fix literals
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
8388c262bf
Add the no editing warning at the top when getting snapshots from docx
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
0400014bba
Make the snapshot of the frontmatter nicer
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
219ad84cda
Snapshot of appendices from copyedit
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
c823c630a3
Update xsl and take snapshots from docx, such as they are
2022-10-20 16:39:55 -04:00
Carol (Nichols || Goulding)
b1b6acba6a
Support different styles in the docx
2022-10-20 16:39:55 -04:00