Giter VIP home page Giter VIP logo

Comments (5)

shawnbot avatar shawnbot commented on May 4, 2024

Thanks for opening this, @colebemis! @ashygee suggested that we ask for @stephbwills' input, as GitHub's content style guide don't yet have any specific guidance on how we should name the navigational links.

When I think about these things I channel my former colleagues from 18F, whose own content guide has a lot in common with ours. Here's the part that jumped out for me from the section on technical and interface writing:

Be consistent with how you phrase titles. If your guide or tutorial has several pages, stick to the same naming convention for scannability, such as:

Nouns: Policies, Teams, Offices
Verbs: Create an account, File a report, Download our data

Use sentence case for headings.

Given that we use the phrases "getting started" and "contributing" so frequently, I think that tense makes sense to use elsewhereโ€”but sparingly! I would suggest something more like the following for side navigation:

  • Getting started
    • Use the Gatsby CLI
    • Contributing
  • Theme options
    • Navigation
    • Hero image
    • Favicon
  • Writing content1
  • Deployment
  • Components
    • Code examples
    • Side navigation
    • Site header

But I'd also love to hear from the rest of @primer/ds-core team if anyone has strong opinions!

1 "Writing content" obviously doesn't exist yet, but I would suggest that we have a page that, at the very least, describes our Markdown + MDX configuration.

from doctocat.

colebemis avatar colebemis commented on May 4, 2024

What if we consolidated and flattened the navigation into something like this?

  • Getting started
    • Gatsby CLI
  • Customization1
  • Writing MDX2
  • Live code
  • Deployment
  • Theme options3
  • Components4
  • Contributing

1 As @shawnbot, @ashygee and I discussed, "Customization" page would be the consolidation of "Changing the favicon," "Adding a hero," and "Update the side navigation."

2 @shawnbot I like the idea of included a brief overview of how to write MDX. We could do something similar to Docz's "Writing MDX" page.

3 I think "Theme options" should be quick reference for the theme configuration options that can be set in gatsby-config.js. We can go into more detail about ways to configure the theme in the "Customization" section.

4 "Components" would be an API reference for all the components that Doctocat exports from index.js similar to what we do on https://primer.style/components.

from doctocat.

colebemis avatar colebemis commented on May 4, 2024

@shawnbot What if we moved Theme options into the Customization page?

from doctocat.

shawnbot avatar shawnbot commented on May 4, 2024

@shawnbot What if we moved Theme options into the Customization page?

I think that makes a ton of sense!

from doctocat.

colebemis avatar colebemis commented on May 4, 2024

Cool. Working on a pull for these changes right now ๐Ÿ‘

from doctocat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.