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

content prerequisites #64

Open
ryandeussing opened this issue Nov 11, 2021 · 2 comments
Open

content prerequisites #64

ryandeussing opened this issue Nov 11, 2021 · 2 comments

Comments

@ryandeussing
Copy link

I'd like to know, and possibly it would be helpful to add to the README:

  1. What are prerequisites to build a guide or a doc set with pantheon-cmd? If one follows a/the modularization checklist, should it work? Or are the new/additional requirements?

  2. Is it possible for a repo to be suitably modularized for pantheon-cmd to function, while still publishing in PV1?

Thanks!

@adahms
Copy link
Collaborator

adahms commented Nov 12, 2021

Hey @ryandeussing - great questions.

Some answers ahead of a fuller update to the README -

  1. Your content should be modularised in accordance with the modular documentation templates, but as long as it's beaten into the shape of identifiable modules and assemblies (i.e. the filename prefix or attribute for modules), PCMD can help validate their structure as well. You'll also need a pantheon2.yml file to identify where your content lives, and the main attributes file to supply - https://github.com/redhataccess/pantheon/blob/master/pantheon-bundle/src/main/resources/SLING-INF/content/docs/modules/con_pantheon_yaml_file.adoc
  2. Yes - a number of teams do this today. Even if your modules and assemblies are combined into PV1 titles, PCMD looks at the individual assembly and module files. As long as it can find them via a pantheon2.yml file, you're good.

Happy to run over how this works or offer some examples as well if that'd help.

@ryandeussing
Copy link
Author

Thanks @adahms - I'm going to find time after next week to start some care and feeding of the Insights repo, and one outcome I hope to achieve is to get pantheon-cmd working. And then validate that writers can begin using it, or figure out how I can help get us to that point.

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

No branches or pull requests

2 participants