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

Support common snippets in content repositories #197

Open
smashwilson opened this issue Nov 25, 2015 · 0 comments
Open

Support common snippets in content repositories #197

smashwilson opened this issue Nov 25, 2015 · 0 comments

Comments

@smashwilson
Copy link
Member

Different content repositories often share common sections of text. Keeping these sections up to date and consistent across all of the content repositories is error-prone and a chore. Just as we refactor common source code into reusable modules, writers should be able to refactor common docs into a shared, centralized place.

Most content engines have some capability for "including" common content within the repository, but they generally don't have an external include. To solve this, I'd propose writing Sphinx and Jekyll plugins that fetch and inject raw content from Somewhere ™️. We could host them in the content service (as a separate resource, to keep them from mucking up search) but honestly I'd probably just pull directly from raw.githubusercontent.com in some repo.

/cc @meker12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants