diff --git a/README.md b/README.md index 13599889..32f2f823 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # developer.nlr.gov -Have questions, feedback, or issues with the APIs available at [developer.nlr.gov](https://developer.nlr.gov/)? [Contact us](https://developer.nlr.gov/contact/) or let us know in the [issue tracker](https://github.com/NatLabRockies/developer.nrel.gov/issues). +Have questions, feedback, or issues with the APIs available at [developer.nlr.gov](https://developer.nlr.gov/)? [Contact us](https://developer.nlr.gov/contact/) or let us know in the [issue tracker](https://github.com/NatLabRockies/developer.nlr.gov/issues). This repository stores the website content and documentation for [developer.nlr.gov](https://developer.nlr.gov). Contributions are welcome. To submit a change, fork this repo, commit your changes, and send us a [pull request](https://help.github.com/articles/using-pull-requests). ## Development -The content files to edit are in [`./source`](https://github.com/NatLabRockies/developer.nrel.gov/tree/master/source). To preview your changes you can use the [Middleman](https://middlemanapp.com) preview server. To run Middleman: +The content files to edit are in [`./source`](https://github.com/NatLabRockies/developer.nlr.gov/tree/master/source). To preview your changes you can use the [Middleman](https://middlemanapp.com) preview server. To run Middleman: 1. Install [Docker](https://www.docker.com/products/docker-desktop/) on your computer. -2. Checkout the `developer.nlr.gov` repository on your computer (`git clone https://github.com/NatLabRockies/developer.nrel.gov.git`). +2. Checkout the `developer.nlr.gov` repository on your computer (`git clone https://github.com/NatLabRockies/developer.nlr.gov.git`). 3. For NLR employees on the NLR network: Add a `docker-compose.override.yml`, with the following contents, but substituting `REPLACE_ME` with the appropriate URL (reach out to a maintainer for this value): ```yaml diff --git a/frontend/lib/toc.js b/frontend/lib/toc.js index 9dfd8a22..b4323e78 100644 --- a/frontend/lib/toc.js +++ b/frontend/lib/toc.js @@ -22,7 +22,7 @@ domready(() => { // If the header on the page is missing IDs, dynamically generate them. Our Markdown content should have auto-generated IDs already, but raw HTML headers may be missing them. // // This is mostly for parity with the old jQuery plugin we used: - // https://github.com/NatLabRockies/developer.nrel.gov/blob/060b09858ed90cc40de083100d8016d097f62339/assets/javascripts/_vendor/jquery.tableofcontents.js#L224-L228 + // https://github.com/NatLabRockies/developer.nlr.gov/blob/060b09858ed90cc40de083100d8016d097f62339/assets/javascripts/_vendor/jquery.tableofcontents.js#L224-L228 if (!headerEl.id) { headerEl.id = headerEl.innerText.toLowerCase().replace(/[^a-z0-9 -]/gi, '').replace(/ /gi, '-').substr(0, 50); } diff --git a/source/contact.html.erb b/source/contact.html.erb index 41986362..06a99468 100644 --- a/source/contact.html.erb +++ b/source/contact.html.erb @@ -7,7 +7,7 @@ title: Contact Us