index.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. # SPDX-License-Identifier: Apache-2.0
  2. # The wiki navigation manifest (issue #249, split into a directory in issue #559).
  3. # This directory holds it: index.yaml (this file: groups, links, readers, goals) and one
  4. # <group id>.yaml per group, a plain list of that group's page entries, one line per entry.
  5. # Splitting it keeps a page added to one group from touching the file of another.
  6. #
  7. # Adding a page = one line in its group's file in this directory, plus its Glossary rows.
  8. # Then run `python -I scripts/gen_wiki_nav.py` to rewrite docs/wiki/Contents.md,
  9. # docs/wiki/_Sidebar.md and the page map on docs/wiki/Home.md (only the block between its
  10. # BEGIN GENERATED PAGE MAP and END GENERATED PAGE MAP lines; the rest of Home is hand-written).
  11. # CI runs `python -I scripts/gen_wiki_nav.py --check`.
  12. #
  13. # Fields of a page entry:
  14. # page the file name without .md (docs/wiki/<page>.md). Every wiki page appears once,
  15. # except the special pages _Sidebar and _Footer.
  16. # title the short name shown in the sidebar and on Contents.
  17. # audience one of: everyone, newcomer, learner, builder, engineer, operator, security reader.
  18. # status optional, copied from the page's own banner, never invented:
  19. # draft the banner says "unverified draft"
  20. # est. steps the banner says the steps were written from reading and not run
  21. # unbuilt the banner says the thing it describes is not built or not applied
  22. # desc one line: what the page is for and who it is for.
  23. # sidebar optional, true or false: pin this page to the top of its group in the sidebar
  24. # (issues #362 and #378). The sidebar lists EVERY page of every group, one line
  25. # each, in collapsible groups, then a "Full list" link to the group's section of
  26. # Contents. Marked pages come first in display order, the rest follow in display
  27. # order, and nothing is dropped. The numbered core path is always listed in full,
  28. # in reading order. Keep marks to about 3 or 4 per group (the entry points and the
  29. # newest lessons). The sidebar costs one line per page and a test caps its length:
  30. # when that test fails, fold subgroups; do not raise the cap.
  31. #
  32. # subgroup optional text (issue #378): fold this page into a nested, collapsed block of its
  33. # group in the sidebar. Pages with no subgroup are listed first, one per line;
  34. # each subgroup follows (in order of first appearance) as one block whose rows pack
  35. # up to 5 links, and about 170 characters of visible text, per line, joined by a
  36. # middle dot. Pinned (sidebar: true) pages lead their subgroup. Not allowed on the
  37. # start group or the numbered core path. A block costs three lines plus its rows, so
  38. # fold groups of about 5 or more pages; the Home map and Contents ignore subgroups.
  39. # In a topic track (below) pages with no subgroup are listed before every subgroup in
  40. # the sidebar, and a pinned page also moves its subgroup up, so keep a track's pages
  41. # in reading order, unpinned, with the first page of each theme carrying the theme.
  42. # series optional text (issue #559): pages that share a series value fold into ONE sidebar line
  43. # (the series name as the title, a link to the first page of the series, no status
  44. # marker, pinned when any member is pinned). Contents, Home, Previous and Next and the
  45. # breadcrumbs still list every page. The pages of a series must follow one another
  46. # inside one group; the check fails otherwise.
  47. # related optional list of 3 to 6 page names (issue #417): the pages the "Related pages" list at
  48. # the bottom of this page shows, in this order. Each must exist in the manifest, none may be
  49. # the page itself and none may repeat. Choose pages the prose already points to or that
  50. # answer the next question a reader has; cross-track links are the point. A page with no
  51. # `related` list gets the fallback rule below.
  52. #
  53. # Page navigation blocks (issue #417, rendered at publish time since issue #521): the wiki publish step
  54. # (scripts/gen-wiki.sh, through scripts/gen_wiki_nav.py --publish-to) writes two blocks on every
  55. # published page except Home, Contents, the special pages and the pages another generator writes whole
  56. # (the status, growth and settings pages). They are NOT stored in docs/wiki/*.md, so adding a page
  57. # changes its group file in docs/wiki/_nav/, Reading-Order, the Glossary, Contents and the sidebar, and no other lesson. Each is between a BEGIN GENERATED PAGE NAV and an END GENERATED PAGE NAV line (a
  58. # "top" pair and a "bottom" pair). The top block sits after the page's first heading and its leading
  59. # quote banners; it holds the breadcrumb (Home, the group, the page) and Previous and Next. The
  60. # bottom block (end of the page) repeats Previous and Next, lists the group's pages (folded by
  61. # subgroup) and shows the Related pages. Previous and Next follow the group's order and exist only
  62. # in a group with a reading order: a numbered group (the core path, a track) in the order written, or
  63. # a sorted group in title order; the first page has no Previous, the last no Next. The start and
  64. # security tools groups have no reading order, so their pages get the breadcrumb and no neighbors.
  65. # --check fails when a page file carries one of these blocks; running the generator removes it.
  66. #
  67. # In-page contents block (issue #441): a page whose own text (the generated blocks taken out) is over
  68. # 300 lines also gets a third block, between BEGIN GENERATED PAGE CONTENTS and END GENERATED PAGE
  69. # CONTENTS, right after the page's first heading and banners (that one stays in the file: it depends on
  70. # the page alone). It is built from the page's headings, not from this
  71. # file: a link to each "##" heading, and also each "###" heading (nested under its "##") on a page with
  72. # fewer than 6 "##" headings. It adds no heading. Change the page's headings, then re-run the generator.
  73. #
  74. # Fallback rule for Related when a page has no `related` list: up to 4 other pages of the same group,
  75. # not counting the Previous and Next page (shown beside it) in a group with a reading order. Pages of the
  76. # same subgroup come first, then the rest of the group; within each, the nearest page in the group's order
  77. # first, and the earlier of two equally near pages first. A group of one page has no Related list.
  78. #
  79. # Home page map: the generator also writes, on Home, a "Start here" line per kind of reader
  80. # (the `readers` list at the bottom of this file), a line per topic track and per goal (the
  81. # `goals` list at the bottom) and every page grouped like Contents with its desc. A page
  82. # missing from the manifest cannot be left off Home, and a test fails if the generated block is
  83. # stale.
  84. #
  85. # Groups: `curated` groups keep the order written here (a reading order); `sorted` groups
  86. # are kept in title order (case-insensitive) so two additions rarely touch the same line.
  87. # `links` are entries that point outside the wiki (they get no existence check).
  88. #
  89. # Topic tracks (issue #416): a group with `numbered: true` and `track: true` is a numbered,
  90. # curated reading order on a topic (Contents and Home number its pages), and unlike the core
  91. # path its sidebar block folds its pages into subgroups, one per theme. A page lives in one
  92. # group only: a track holds its pages instead of a theme group, never in addition to one. The
  93. # core path stays the read-this-to-build-the-project path; tracks are for reading by topic.
  94. groups:
  95. - {id: start, title: "Start here", order: curated}
  96. - {id: core, title: "Core path: read in this order", order: curated, numbered: true, open: true}
  97. - {id: foundations, title: "Track 1: Foundations", order: curated, numbered: true, track: true}
  98. - {id: tools, title: "Security tools and threat modeling", order: curated}
  99. - {id: defend, title: "Track 2: Defend and detect", order: curated, numbered: true, track: true}
  100. - {id: privacy, title: "Track 3: Privacy, anonymity and cryptocurrency", order: curated, numbered: true, track: true}
  101. - {id: grc, title: "Track 4: GRC and law", order: curated, numbered: true, track: true}
  102. - {id: build, title: "Track 5: Build and operate", order: curated, numbered: true, track: true}
  103. - {id: reference, title: "Reference", order: sorted}
  104. links:
  105. reference:
  106. - {url: "https://github.com/ChiefGyk3D/Clouds-Against-Humanity/blob/main/docs/stages/00-foundation.md", title: "Stage 0 guide", audience: "builder", desc: "The author's operating record for stage 0 (project, network, firewall); lives in the repository, not the wiki."}
  107. - {url: "https://github.com/ChiefGyk3D/Clouds-Against-Humanity/blob/main/docs/stages/01-access.md", title: "Stage 1 guide", audience: "builder", desc: "The author's operating record for stage 1 (Twingate access and two connectors); lives in the repository, not the wiki."}
  108. - {url: "https://github.com/ChiefGyk3D/Clouds-Against-Humanity/blob/main/docs/spacelift-secrets.md", title: "Secrets runbook", audience: "builder", desc: "Where each secret is created and wired into Spacelift and Doppler; lives in the repository, not the wiki."}
  109. - {url: "https://github.com/ChiefGyk3D/Clouds-Against-Humanity/blob/main/docs/cost.md", title: "Cost", audience: "everyone", desc: "The recorded prices and the monthly ceiling behind the cost gate; lives in the repository, not the wiki."}
  110. # One Start-here page per kind of reader (every audience exactly once), shown at the top of the
  111. # Home page map. `who` is the reader in plain words; `page` must be a page in this manifest.
  112. readers:
  113. - {audience: everyone, who: "Just looking around", page: Reading-Order}
  114. - {audience: newcomer, who: "New to cloud, Terraform or zero trust", page: Start-Here-If-You-Are-New}
  115. - {audience: learner, who: "Learning a skill from zero (terminal, networking, git, security)", page: Terminal-and-Your-First-Script}
  116. - {audience: builder, who: "Building your own copy", page: Fork-Private-Stacks-and-the-Pipeline}
  117. - {audience: engineer, who: "An engineer who wants the design", page: Architecture-Overview}
  118. - {audience: operator, who: "Running it or watching it", page: Reading-a-Dashboard-as-an-Operator}
  119. - {audience: "security reader", who: "Security-minded", page: Threat-Model-Exercise}
  120. # One Start-here page per topic track and per goal (issue #416), shown on the Home page map under
  121. # the readers. `who` is the goal in plain words; `page` must be a page in this manifest. The first
  122. # five lines are the five topic tracks, each pointing at its first page; the rest are goals that
  123. # cut across tracks. Unlike `readers`, no audience is implied and a page may be named twice.
  124. goals:
  125. - {who: "Track 1, Foundations: OS, networking, identity, code and web hosting", page: Git-From-Zero}
  126. - {who: "Track 2, Defend and detect: defense, honeypots and monitoring", page: Packet-Filters-Compared-iptables-nftables-ufw-pf}
  127. - {who: "Track 3, Privacy, anonymity and cryptocurrency", page: Cryptography-Fundamentals-Symmetric-Asymmetric-Hashing-Certificates-and-Keys}
  128. - {who: "Track 4, GRC and law: risk, privacy law, continuity and backups", page: The-CIA-Triad-Confidentiality-Integrity-Availability}
  129. - {who: "Track 5, Build and operate: stages, other clouds, enterprise practice", page: Fork-Private-Stacks-and-the-Pipeline}
  130. - {who: "Privacy and anonymity", page: Privacy-Security-and-Anonymity-Three-Different-Things-and-Why-There-Is-No-Silver-Bullet}
  131. - {who: "Cryptocurrency, for people in IT", page: Blockchain-Fundamentals-Hashes-Blocks-Nodes-Consensus-and-Forks}
  132. - {who: "Compliance and privacy law", page: GRC-Governance-Risk-and-Compliance-in-Plain-Terms-Laws-Frameworks-and-Attestations}