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

[APT-1557] Add local docs source #64

Merged
merged 10 commits into from
Dec 1, 2021
Merged

Conversation

eak12913
Copy link
Contributor

@eak12913 eak12913 commented Nov 30, 2021

This PR adds a new _docs-sources/ folder that contains the true markdown source files which comprise the manually written content of the docs site.

Content creators can now add content into the _docs-sources/ folder. Internally this folder has the same structure as will be outputted into the top level docs/ folder. All source files will be subject to pre-processing by being put through the docs-sourcer.

There's a new yarn command: yarn regenerate:local. This command can be used to run the pre-processor on the local source files.

While working, Grunts should still use the usual yarn start to launch a local dev server. This command has now been modified to also scan the new _docs-sourcer directory and automatically re-run the pre-processor for any changes/updates.

…y. TODO: Update the ref to not be pointed to a branch but to a tagged release version!

Added nodemon that will re-run the local regeneration code on each save and automatically redeploy the docs site.
…mirrors the top level `docs/` folder which now only has "generated" content.

Updated all generated content to now be actually automatically generated.
@netlify
Copy link

netlify bot commented Nov 30, 2021

✔️ Deploy Preview for pensive-meitner-faaeee ready!

🔨 Explore the source changes: 7163191

🔍 Inspect the deploy log: https://app.netlify.com/sites/pensive-meitner-faaeee/deploys/61a6dd2d2b9f6e0008baf48d

😎 Browse the preview: https://deploy-preview-64--pensive-meitner-faaeee.netlify.app

oredavids
oredavids previously approved these changes Nov 30, 2021
@oredavids oredavids merged commit 6e6cee1 into master Dec 1, 2021
@oredavids oredavids deleted the apt-1557-add-local-docs-sources branch December 1, 2021 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants