cmu-delphi / delphi-epidata

An open API for epidemiological data.
https://cmu-delphi.github.io/delphi-epidata/
MIT License
102 stars 68 forks source link

Alphabetize reordered data source menu #1539

Open nmdefries opened 2 months ago

nmdefries commented 2 months ago

Summary:

Context

When using the nav_order setting in markdown front matter, pages sharing the same nav_order are alphabetized by filename, NOT by title. For existing pages, change filenames to alphabetize properly but specify permalink to keep URLs the same.

(For new pages, filenames should be set to match page titles so that alphabetization is correct. Adding permalinks is unnecessary.

We could also force alphabetization using nav_order, but this approach minimizes future work. That is, we won't have to keep inserting new nav_order values between existing ones. All new inactive data sources will be assigned nav_order: 2; active ones will have nav_order: 1.)

Also mention "NHSN" in hhs documentation.

Prerequisites:

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud