Samuel Dionne-Riel
0d9c6ce207
Merge pull request #310 from samueldr-wip/fix/more-hermetic-release.nix
...
More hermetic release.nix and examples
2021-02-23 21:02:59 -05:00
Samuel Dionne-Riel
47efa827ec
doc: Strip the actual prefix for news pages
...
The cwd could change depending on sandboxing or not, e.g. with the cachix
build!
2021-02-23 14:15:11 -05:00
Samuel Dionne-Riel
f1268082f9
lib/release-tools: eval helpers don't include default.nix anymore
...
This is required for more hermetic evals.
A simple thing to try is, before this change, replace `default.nix` with
`throw "No thanks..."`. It would throw. It was also possible to observe
`local.nix` was being included by the warnings.
Wioth this change, `release.nix` does not include `local.nix` through
`default.nix`.
I think this was the last piece of Mobile NixOS that actually relied on
`default.nix` being a thing. We have finally completely inverted the
control, where `default.nix` uses the helpers, rather than the helpers
evaluating a specialized `default.nix`.
From now on, it should be entirely safe to experiment with
`default.nix`. We should be able to **fail noisily** when a user builds
the default empty configuration!
2021-02-21 17:34:12 -05:00
Samuel Dionne-Riel
7cb18efb7c
Merge pull request #293 from samueldr-wip/fix/misc-breakage
...
Fix misc. breakage from Nixpkgs changes
2021-02-05 22:42:20 -05:00
Samuel Dionne-Riel
225ed39dad
Fix stdenv.lib being removed
...
Deals with https://github.com/NixOS/nixpkgs/pull/111284
2021-02-02 05:51:18 -05:00
Edward Amsden
c5a7112d9d
doc: Fix release-tools use
...
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2021-02-02 01:58:41 -05:00
Samuel Dionne-Riel
d3b97cac15
doc: Limit news articles to 10 on main page
2021-01-11 19:38:40 -05:00
Samuel Dionne-Riel
ac177a771d
doc: Add support for a news archive page
2021-01-11 19:38:33 -05:00
Samuel Dionne-Riel
6b5148cb1c
doc: Build using configuration-defined device info fragment
2021-01-09 19:23:20 -05:00
Samuel Dionne-Riel
4c5d43ac18
doc: Fix lessc maths breaking change
...
Fixes #276
2021-01-05 01:43:51 -05:00
Samuel Dionne-Riel
479f431883
doc: List stage-0 support on the device page
...
The support is according to the default device configuration. For now
this means the kernel version, but a device can also configure it as
needed.
2020-12-27 17:50:30 -05:00
Samuel Dionne-Riel
bfd44cf05f
doc: Handle eval issues coming from "default" values
...
"default" values in Nixpkgs manual can *somehow* be escaped by the
documentation back to their original string form.
The following ends up escaped into the manual as `"${pkgs.hello}"`.
```
default = "${pkgs.hello}";
```
The methods for this magic have not been found.
Instead, we just change the default strict `handleEvalIssue` so that it
does absolutely nothing and lets them through.
Anyway we won't be building them.
2020-09-29 17:31:18 -04:00
Samuel Dionne-Riel
3baf77089e
doc: Workaround new failure on unstable
...
Actual work should be done to figure out why those `default = pkgs.___`
cause issues *only* with our docs generation, and don't fail the NixOS
channels :/
2020-07-07 17:22:12 -04:00
Samuel Dionne-Riel
c266d96b7a
doc: Add styles for footnotes
2020-05-14 17:10:19 -04:00
Samuel Dionne-Riel
78ac52af46
doc: Add styles for some utility image classes
2020-05-14 17:10:00 -04:00
Samuel Dionne-Riel
f3783bba8e
Remove attempt at fixing spacing with inline code
...
It's only causing issues. It's not that big of a deal.
2020-05-06 02:25:00 -04:00
Samuel Dionne-Riel
446eec1fd5
doc: Fix weirdness with inline code first on newlines
2020-05-06 01:33:27 -04:00
Samuel Dionne-Riel
232053d4cd
doc: Fix article without image
2020-05-06 01:33:01 -04:00
Samuel Dionne-Riel
6d327eec53
doc: Fix multi-paragraphs admonitions
2020-05-04 19:44:30 -04:00
Samuel Dionne-Riel
d65177ae2f
doc: Fix for nested lists
2020-05-04 19:28:41 -04:00
Samuel Dionne-Riel
b9c9e1c781
doc: Add a basic theme for rouge
...
Inspired by my colour scheme.
2020-04-06 19:51:49 -04:00
Samuel Dionne-Riel
3cec71790e
doc: Use rouge
2020-04-06 19:51:26 -04:00
Samuel Dionne-Riel
072562d770
doc: Add rouge
to the converter gems
2020-04-06 19:34:11 -04:00
Samuel Dionne-Riel
50ab717ccb
doc: Add "Resources" section, a top-level section
...
This replaces the embryonic "Porting Guide" link from the top menu, and
the new page links back to it.
This, in turn, allows us to make more resources easily accessible in a
curated page, rather than hoping users will use the Site Map.
2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
bed68b4e50
doc: Generate the options listing
2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
a68bf86f87
doc: Fix <dl><dt><dd> styles for options listing
2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
8f09f86057
doc: Fix side-bar background
2020-04-04 20:30:47 -04:00
Samuel Dionne-Riel
edaa1ee675
doc: Add Hydra build output URL to devices
2020-04-04 20:30:36 -04:00
Samuel Dionne-Riel
05d2983a59
doc: Add support for system-specific notes
...
Using Erb they are templated.
2020-04-04 20:30:12 -04:00
Samuel Dionne-Riel
96b82fc9f1
doc: Generate the device-specific docs via a script
...
Rather than use ugly nix-templated bash.
2020-04-04 17:01:24 -04:00
Samuel Dionne-Riel
81b0e737c1
doc: Add architecture to the device pages
2020-04-04 15:19:44 -04:00
Samuel Dionne-Riel
b503267c8e
doc: Remove custom eval, rely on true release eval for devices
2020-04-04 15:19:44 -04:00
Samuel Dionne-Riel
ae2be46466
doc: Rework the devices table
...
Put the identifier first, since this is what they're sorted on.
Then, put Manufacturer and Name in their own column.
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
5a91f406f8
doc: Fix header detection for device-specific notes
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
ec34156376
doc: Use the full name for the device
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
86065c8d96
doc: Build a per-device page
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
df373d7d23
doc: Build a table for devices
...
Still linking to the GitHub pages, but still a step forward.
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
fc5d5f0bbd
doc: Add styles for the devices table
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
a8601c257e
doc: Remove outdated notice on the devices page
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
31e362563d
doc: Ensure proper responsiveness for images
2020-03-03 17:19:57 -05:00
Samuel Dionne-Riel
b60a26a0f9
doc: Add a margin to image blocks
2020-03-03 17:19:34 -05:00
Samuel Dionne-Riel
1a60911898
documentation: Fix UTF-8 parsing
...
When not having glibcLocales, nor a proper LANG set, asciidoctor would
work in US-ASCII.
2020-02-04 17:18:43 -05:00
Samuel Dionne-Riel
485ec7fad3
doc: Makes articles pipeline more aware of image alignment
...
This is technically a *content* based style, which is why it's fine to
do there, instead of semantically in the page.
The background-image basically acts an a "transparent" `<img />`.
2019-12-02 20:51:46 -05:00
Samuel Dionne-Riel
f480573cf7
doc: Fixup RSS generation without items
...
Well, don't generate!
This fixes local generation as
```
nix-build doc/
```
2019-12-02 19:15:18 -05:00
Samuel Dionne-Riel
fa0a2a5734
doc: Add <head> link to RSS feed
2019-12-02 18:04:21 -05:00
Samuel Dionne-Riel
810e18a758
doc: Add RSS generation
2019-12-02 17:49:39 -05:00
Samuel Dionne-Riel
74f421bab3
doc: Processor::Base knows about title and date
2019-12-02 17:49:39 -05:00
Samuel Dionne-Riel
bb26a473ba
doc: Article listing factored out
2019-12-02 17:49:39 -05:00
Samuel Dionne-Riel
244ca6fd47
doc: Reduce edit/source links hardcoding
...
This allows our split repository system to point to the right
repository.
2019-12-02 17:49:39 -05:00
Samuel Dionne-Riel
70e2c5109a
doc: Fix title casing on header link
2019-11-16 11:39:12 -05:00