Alexander Groleau
92e4e1e26b
remove regex that breaks copy button ( #690 )
2023-08-24 10:21:22 +02:00
Lorenzo Manacorda
cf754d4f27
conf.py: enable line numbes for nix, python code
2023-08-18 15:04:39 +02:00
Zach Mitchell
2592019afc
Fix more broken links
2023-07-13 06:57:31 -06:00
Yuki Langley
ca0dc99eb6
Ignore linkcheck on GitHub file viewer/browser
...
This is done in order to unbreak CI until a proper solution is found.
Related to https://github.com/NixOS/nix.dev/issues/631
2023-07-07 17:47:55 +07:00
Yuki Langley
145158825d
Generate 404.html ( #617 )
2023-06-25 17:23:09 +02:00
Yuki Langley
9aaa97a8b0
Make home page cards clickable ( #616 )
2023-06-25 14:13:20 +02:00
Yuki Langley
d426269f96
conf.py: Update repository url and branch ( #613 )
2023-06-24 14:54:09 +02:00
Yuki Langley
c4c366160e
Add Nix snowflake logo ( #585 )
...
* Add Nix snowflake logo to sidebar
* Add Nix snowflake favicon
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-06-07 10:41:40 +02:00
Yuki Langley
793206a5e6
Fix invalid sitemap ( #586 )
2023-06-06 10:15:53 +02:00
Yuki Langley
6f9bad97b1
Add robots.txt ( #583 )
2023-06-05 03:02:31 +02:00
asymmetric
a1d1ce5a98
Merge pull request #562 from NixOS/no-sponsors
...
Remove mention of corporate sponsors
2023-06-01 11:44:25 +02:00
Lorenzo Manacorda
687c1037d2
Fix config error
...
Newer Sphinx doesn't accept None, so leaving default of 'en'.
2023-05-29 11:58:25 +02:00
Lorenzo Manacorda
49249e53a4
Remove sponsors from sidebar
2023-05-29 10:03:59 +02:00
Lorenzo Manacorda
d65308e6bd
Remove sponsors from footer
2023-05-28 19:44:52 +02:00
Lorenzo Manacorda
226cbfcfd5
link sponsors in footer
2023-05-25 13:03:23 +02:00
Lorenzo Manacorda
544a3de332
Sponsors -> Acknowledgments
2023-05-25 13:02:22 +02:00
Lorenzo Manacorda
d993a7f59c
Revert "Remove mention of corporate sponsors"
...
This reverts commit bbad27ea9fa8aba79151704bd73438d78eba4ea5.
We're going to mention past sponsors.
2023-05-25 13:02:22 +02:00
Lorenzo Manacorda
9a16562f0a
Remove mention of corporate sponsors
...
Now that the site is owned by the foundation.
2023-05-25 13:02:22 +02:00
Valentin Gagarin
744eeafbda
assign copyright to NixOS Foundation
...
based on Nix documentation team discussion on 2022-07-07
https://discourse.nixos.org/t/2022-07-07-documentation-team-meeting-notes-4/20198
"the author" are now nix.dev contributors, as this is the most accurate
way we can currently represent it. eventually we should provide a way to
credit authorship more precisely.
2023-05-11 20:48:39 +02:00
Zach Mitchell
f127d9da6b
Add link to linkcheck ignore list
2023-05-06 12:56:18 -06:00
Valentin Gagarin
68ca23955d
ignore lesswrong.com on linkcheck
...
their server returns 403 on CI runs even for valid URLs
2023-03-17 00:59:46 +01:00
olaf
442577eb25
tutorial: nixos configurations on vm ( #334 )
...
* tutorial: nixos configurations on vm
Co-authored-by: Benoit de Chezelles <bew@users.noreply.github.com>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Henrik <i97henka@gmail.com>
2023-03-16 18:37:04 +01:00
Yuki Langley
3937aef0c6
Add sphinx-design extension
2022-12-18 21:29:44 +01:00
Yuki Langley
f0239b6a91
Unify information on contributing documentation ( #384 )
...
* Unify information on contributing documentation to make it visible on nix.dev itself
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-16 08:32:48 +01:00
Yuki Langley
a4a6ce812b
Rewrite GitHub anchor links to user-content-
...
Due to an Sphinx issue[1], linkcheck fails on GitHub anchors for
GitHub rendered documents.
This change rewrites the anchors to the ones that can be verified by
linkcheck.
[1]: https://github.com/sphinx-doc/sphinx/issues/9016
2022-11-03 17:36:40 +01:00
Nejc Zupan
5ab8d5a77f
Fix leftovers from .rst -> .md migration
...
Sphinx doesn't care about filetype suffixes so we didn't see any errors.
But it's still nice to do this bit of gardening, I suppose?
2022-10-22 17:21:04 +02:00
Valentin Gagarin
ee6f1e1c33
generate anchors down to heading level 3
2022-10-04 08:34:33 +02:00
Simon Bruder
dfcbbc0858
add highlighting for shell input/output
2022-09-08 11:09:27 +02:00
Nejc Zupan
02ced7bbff
Proof-of-Concept for testing code samples
...
There are a number of code samples throughout nix.dev. How do we know
they still work? We don't!
This commit introduces a way for us to extract these code samples into files
and then run tests against them in CI. This will hopefully help us catch
regressions in future updates to nix, NixOS and/or this guide.
Additionally, I included a darwin specific nix-shell configuration that I
use personally on my M1 Mac to work on this repo. Might be useful for someone.
2022-04-07 10:16:17 +01:00
Nejc Zupan
54ed4ce8ce
Initial support for MyST
...
For now, we can have both .rst and .md files, so we can do the convertion
to Markdown iteratively.
2021-12-09 12:45:57 +00:00
Domen Kožar
efc2a1b34b
fix build
2021-10-19 16:42:37 -05:00
Domen Kožar
37cfce678c
CI: run linkcheck
2021-08-19 10:01:13 +02:00
Domen Kožar
c677998720
Cleanup sidebar
2021-07-20 10:55:50 +02:00
Domen Kožar
00093ddd9f
fix edit button
2021-06-23 19:37:11 +02:00
Domen Kožar
d177dba53b
theme: alabaster -> sphinx_book_theme
2021-06-23 18:51:43 +02:00
Domen Kožar
365c3989b0
Tutorial for cross-compilation
2021-06-14 18:59:58 +02:00
Domen Kožar
4189437245
fix linkcheck
2021-06-03 21:21:15 +02:00
Domen Kožar
506d542df8
pypi2nix -> mach-nix
2021-05-14 12:33:37 +02:00
Domen Kožar
39a80a0b11
Allow readers to subscribe to email notifications for new content.
2021-04-30 17:45:17 +02:00
Domen Kožar
fffdde905e
fix date
2021-04-06 15:54:27 +02:00
Domen Kožar
cc28a13cc7
fix linkcheck
2020-11-18 18:42:27 +01:00
Domen Kožar
cab591c6cf
theme: note where the options come from
2020-07-08 10:46:10 +02:00
Domen Kožar
65c2130385
Switch to more modern variation of flask theme, alablaster
2020-07-08 10:44:04 +02:00
Domen Kožar
0d2278384d
Note that Cachix is sponsoring this work
2020-06-16 16:02:14 +02:00
Domen Kožar
481228864a
This page: make it work
2020-06-15 18:06:41 +02:00
Geoffrey Huntley
9c84f7a601
feature(thispage): add edit, history and source links
2020-06-13 10:53:32 +00:00
Domen Kožar
6766bedfb8
garden
2020-05-18 11:56:17 +02:00
Domen Kožar
60c50614c1
WIP
2020-05-17 11:05:50 +02:00
Domen Kožar
b599ab3548
Fix conf
2017-07-12 15:22:42 +02:00
Domen Kožar
389d39b833
fix build
2017-07-12 15:16:54 +02:00