Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add navigation configuration to the docs #2775

Closed
wants to merge 1 commit into from

Commits on Feb 25, 2021

  1. docs: add navigation configuration to the docs

    The documentation in this repository is added to the overall npm
    documentation at https://docs.npmjs.com/, which includes both the
    documentation for the public registry and the CLI.
    
    The documentation site itself also has a navigational hierarchy;
    since the content is included from the CLI, we also want to ensure
    that the navigation for that content lives in this repository.
    
    This means that this repository is the source of truth for all of the
    CLI documentation, and we do not need to update two places when we
    add, edit, or remove CLI documentation.  It all lives here.
    
    This also teaches the documentation rendering script to identify when
    the navigation configuration (nav.yml) is missing new pages that were
    recently added or retains old pages that have recently been deleted.
    ethomson committed Feb 25, 2021
    Copy the full SHA
    1694cc9 View commit details
    Browse the repository at this point in the history