Skip to content

Commit

Permalink
the dev-toc is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahs committed Jul 12, 2022
1 parent 3e03280 commit 4fa4cc8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions contributing/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ For more detailed instructions, please see this [VS Code recipe](https://github.

The [`script/bookmarklets`](../script/bookmarklets) directory contains some browser shortcuts that can help with reviewing GitHub documentation. See [`script/bookmarklets/README.md`](../script/bookmarklets/README.md) for details.

### Viewing a top-level table of contents

While running the local server, you can visit [localhost:4000/dev-toc](http://localhost:4000/dev-toc) to view a top-level TOC of all the content in the site. This page is not available on https://docs.github.com. It was created for internal GitHub writers' use.

At the `/dev-toc` path, you'll see a list of available versions. Click a version, and a list of products will appear. Note that the TOC content is versioned. If you are viewing the `GitHub.com` version and you click the `Enterprise Admin` product, it will be empty, because there isn't any Admin content available on that version.

### Enabling different languages

By default the local server won't run with all supported languages enabled. If you need to run the server with a particular language, you can temporarily edit the `start` script in `package.json` and update the `ENABLED_LANGUAGES` variable. For example, to enable Japanese and Portuguese, you can set it to `ENABLED_LANGUAGES='en,ja,pt'` and then you need to restart the server for the change to take effect.
Expand Down
1 change: 0 additions & 1 deletion lib/frontmatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { allTools } from './all-tools.js'

const layoutNames = [
'default',
'dev-toc',
'graphql-explorer',
'product-landing',
'product-guides',
Expand Down

0 comments on commit 4fa4cc8

Please sign in to comment.