chore: update title casing for consistency in page and navigation #1462
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #1394
Changes how the docusaurus sidebar for fast-dna packages displays their titles via the
build/documentation/copy-package-readme.js
script; uses the title in the packagereadme.md
files to determine formatting/casing. Also renames one of the packagereadme
files so it is recognized by the script.I was considering using a json file to store this title information instead and drawing from there. I went with this current method because it would be less work to maintain but it relies on how the
readme.md
files are formatted (e.g. the package title needs to be the first line with text for this script to work). If there's a preference for the former approach I can switch to that one.Motivation & context
The titles in the docusaurus sidebar wasn't conforming to the proper style guidelines, this change fixes that.
Issue type checklist
Is this a breaking change?
Process & policy checklist