Skip to content

docs: group the help pages into three sections - #1505

Draft
masiarek wants to merge 1 commit into
Equal-Vote:mainfrom
masiarek:docs/nav-structure
Draft

docs: group the help pages into three sections#1505
masiarek wants to merge 1 commit into
Equal-Vote:mainfrom
masiarek:docs/nav-structure

Conversation

@masiarek

@masiarek masiarek commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Draft — this is a proposal for discussion, not something that needs merging soon. Opening it as a PR rather than an issue because the shape is easier to judge when you can see it rendered.

Groups the help pages into three sections, following the election lifecycle:

Section Pages
Setting Up Your Election Paper Ballots, Security Options
Counting and Results Hand Count, Ties, Preliminary Results
Reference FAQ, How to enable beta features
BetterVoting Documentation
    Setting Up Your Election
        Paper Ballots
        Security Options
    Counting and Results
        Hand Count
        Ties
        Preliminary Results
    Reference
        Frequently Asked Questions
        How to enable beta features

No files move and no URLs change

This is the part that makes it cheap to try. just-the-docs builds the sidebar from parent: front matter, not from directory layout — index.md at the docs root is already the parent of help/faq.md in a subfolder, so nesting is independent of where files live.

So every page keeps its exact URL, including the six the app hardcodes and both deep anchors. Verified against a local build:

  • /help/paper_ballots.html, /help/hand_count.html, /help/ties.html, /help/faq.html, /help/preliminary_results.html — all unchanged
  • ties.html#random-tie-breakers and faq.html#write-in-scores-not-counted — both anchors still present

It's also reversible with a one-line edit per page, which is why it seemed worth showing rather than just describing.

Why now, given there are only seven pages

Honestly: at this size a flat list is arguably better, and if that's the conclusion, closing this is a perfectly good outcome.

The reason to settle it now is the backlog — there's a lot of help content written but unpublished, and agreeing where things go before writing avoids re-litigating placement on every content PR. The grouping follows the election lifecycle (before the vote → during and after → reference), which is what Simply Voting's help site uses and what BV's own election states map onto naturally.

Interaction with #1502

#1502 adds an Election States page with parent: BetterVoting Documentation. If both are wanted, whichever merges second needs a one-line front-matter update — Election States belongs under Setting Up Your Election. Happy to rebase whichever way suits; they're otherwise independent.

Background

I sketched this out while looking at how other election platforms organise their help sites (Simply Voting, ElectionBuddy, Election Runner, VotingApp). Those notes are here if the reasoning is useful — they're working notes rather than a polished proposal, so they're blunt in places, and the specific nav in them is more ambitious than what this PR does.

Proposal for discussion, not an urgent change. Opening it as a draft so the
shape can be argued before any content is written against it.

Adds three section pages under BetterVoting Documentation and re-parents the
existing seven help pages into them:

  Setting Up Your Election   Paper Ballots, Security Options
  Counting and Results       Hand Count, Ties, Preliminary Results
  Reference                  FAQ, How to enable beta features

The property that makes this cheap to try: **no file moves and no URL changes**.
just-the-docs builds the sidebar from `parent:` front matter, not from directory
layout -- index.md at the docs root is already the parent of help/faq.md in a
subfolder, so nesting is independent of where files live. Every existing page
keeps its exact URL, including the six the app hardcodes and the two deep
anchors (ties.html#random-tie-breakers, faq.html#write-in-scores-not-counted).
Verified by building and checking each one.

That also means this is reversible with a one-line edit per page, which is why
it seemed worth showing rather than describing.

Why sections at all, given there are only seven pages: at this size a flat list
is arguably better, and if that's the conclusion, closing this is a fine outcome.
The reason to settle it now is that there is a large backlog of unpublished help
content, and agreeing where things go before writing avoids re-litigating
placement on every content PR.

Grouping follows the election lifecycle -- before the vote, during and after,
then reference -- which is what Simply Voting's help site uses and what BV's own
election states map onto naturally.
@netlify

netlify Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploy Preview for bettervoting ready!

Name Link
🔨 Latest commit 0a9d77f
🔍 Latest deploy log https://app.netlify.com/projects/bettervoting/deploys/6a77983a0ff984000895c37b
😎 Deploy Preview https://deploy-preview-1505--bettervoting.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant