-
Notifications
You must be signed in to change notification settings - Fork 183
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
Completing and testing schema documentation production #314
Comments
This is #286 already assigned to me. |
…om other metaschemas (35 new files) usnistgov#286 usnistgov#314
* Create Readme.md * Create readme.md * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Delete DesignElements.md * Add files via upload * Update Design Elements.md * Add files via upload * Update Design Elements.md * Update Landing Page.md * Update Landing Page.md * Update Landing Page.md * Update Roadmap.md * Update Roadmap.md * Update Roadmap.md * Update Roadmap.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Overview.md * Update Overview.md * Update Landing Page.md * Update Roadmap.md * Update Roadmap.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Overview.md * Update Roadmap.md * Update Overview.md * Update Overview.md * Update Overview.md * Add files via upload * Add files via upload * Add files via upload * Delete OSCAL_ContentPage_Sample.png * Update Landing Page.md * Update Landing Page.md * Update Content Page.md * Update Content Page.md * Update Content Page.md * Update Products.md * Update Products.md * Update Products.md * Add files via upload * Update Design Elements.md * Update Case Studies.md * Add files via upload * Delete Products.md * Delete Roadmap.md * Update Design Elements.md * Add files via upload * Add files via upload * Update Landing Page.md * Update Overview.md * Add files via upload * Update Get Involved.md * Update Get Involved.md * Update Get Involved.md * Update Get Involved.md * Update Design Elements.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Delete OSCAL_Logo1.png * Delete OSCAL_Logo2.png * Delete OSCAL_Logo3.png * Delete OSCAL_Logo4.png * Add files via upload * Update Design Elements.md * Delete OSCAL_Logo1.png * Delete OSCAL_Logo2.png * Add files via upload * Delete OSCAL_Logo1.png * Add files via upload * Update Readme.md * Update Get Involved.md * Rename Case Studies.md to Case Study.md * Update Case Study.md * Update Scenario.md * Update Producer.md * Update Producer.md * Update Consumer.md * Update Consumer.md * Update Get Involved.md * Update Producer.md * Update Consumer.md * Update Producer.md * Delete Design Elements.md * Update Get Involved.md * Update Consumer.md * Update Producer.md * Add files via upload * Add files via upload * Update Contact.md * Update Contact.md * Update Consumer.md * Update Producer.md * Update and rename Overview.md to LearnMore.md * Rename LearnMore.md to Learn More.md * Update Contact.md * Update Contact.md * Update Learn More.md * Create Schemas.md * Update Schemas.md * Update Schemas.md * Update Schemas.md * Create Producer Examples.md * Update Schemas.md * Delete Content Page.md * Update and rename Producer Examples.md to Consumer Examples.md * Update Scenario.md * Update Scenario.md * Delete Landing Page.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Feature metaschema d2 next (usnistgov#277) * Patched with changes from feature-metaschema-d2 * Moving testing schema into schema/demo dir for more robust testing of (portable, replicable) metaschema infrastructure * Cleanup and refactoring metaschema production for demo * Patched with changes from feature-metaschema-d2 * Cleanup and refactoring metaschema production for demo * More adjustments and documentation of metaschema * Adjustments to metaschema notes doc * Now supporting namespace assignment per metaschema * Better support for modular metaschemas * Metaschema support for namespaces, acquired (imported) models * Scrubbing old prose modules * Metaschema XML documentation now respecting namespaces in XML artifacts * Minor tweaks to comments * More improvements in view of namespaces. JSON examples not yet working. * Better handling of examples now * Removing unneeded test files * Correcting syntax error * Adjustments in demo metaschema * Added draft metadata to SP800-53 profiles; also new SP800-53 catalog with (draft) metadata. * Adding Markdown-conversion and JSON-handling code * 'Hardening' markdown conversion * Adding placeholder files for new catalog and profile metaschemas with namespace support - nb namespaces assigned have not been changed. But namespace support in the metaschema infrastructure can be tested. * Cleaning up catalog and profile schemas (with namespaces) and examples * Updated demo schema readme * Tighter co-occurrence testing * docs redesign prototype * add Docker artifacts for dev * volume mount quotes * walkthrough prototype * add walkthrough page * use official nist header and foot * initial refactor based on new site map * site nav prototyping * oscalkit addition * Test * fix sidenav and schema ref * Early version JSON-docs production from metaschema * Removed unwanted namespace declarations from XML samples * Removed unwanted namespace declaration from XML samples * Experiments with serialization of XML literals in JSON from XSLT pipeline * Travis website updates (#3) * Website Updates - Splash Page * fix sidenav and schema ref * Updates based on initial NIST feedback (#4) * relationship page per Wendell (#5) * Setting up metaschema documentation -- HTML feed for Jekyll * Improved serialization on working example * Improved serialization * Now added uswds tables * Now including JSON examples * On XML and JSON examples, now emulating mockup with hooks for Jekyll/uswds CSS and scripting * More enhancements to schema docs * Adding catalog schema docs as HTML fragments * Testing documentation handling * Testing documentation; metaschema Schematron adjustment * Adding YAML header to top level file * Reverting back to safer version * Now including docs for elements included in metaschemas via import from other metaschemas (35 new files) usnistgov#286 usnistgov#314 * Provided descriptive YAML headers to HTML outputs from metaschema docs production for Jekyll integration. * New file set in correct subdirectory for Jekyll * Removing extraneous file left from debugging * Removing diagnostic output from metaschema docs generation * Corrected production of header id for navigation * Providing some simple tagging for syntax coloring over XML literals * Improvements to representation of samples in schema docs, now to use Jekyll syntax highlighting. * Moving the documentation outputs to a path for Jekyll * More corrections to samples serializations * merge split html from metaschema * JSON prettify block * Initial Schema Formatting * css changes
* Feature metaschema d2 next (usnistgov#277) * Patched with changes from feature-metaschema-d2 * Moving testing schema into schema/demo dir for more robust testing of (portable, replicable) metaschema infrastructure * Cleanup and refactoring metaschema production for demo * Patched with changes from feature-metaschema-d2 * Cleanup and refactoring metaschema production for demo * More adjustments and documentation of metaschema * Adjustments to metaschema notes doc * Now supporting namespace assignment per metaschema * Better support for modular metaschemas * Metaschema support for namespaces, acquired (imported) models * Scrubbing old prose modules * Metaschema XML documentation now respecting namespaces in XML artifacts * Minor tweaks to comments * More improvements in view of namespaces. JSON examples not yet working. * Better handling of examples now * Removing unneeded test files * Correcting syntax error * Adjustments in demo metaschema * Added draft metadata to SP800-53 profiles; also new SP800-53 catalog with (draft) metadata. * Adding Markdown-conversion and JSON-handling code * 'Hardening' markdown conversion * Adding placeholder files for new catalog and profile metaschemas with namespace support - nb namespaces assigned have not been changed. But namespace support in the metaschema infrastructure can be tested. * Cleaning up catalog and profile schemas (with namespaces) and examples * Updated demo schema readme * Tighter co-occurrence testing * Docs redesign (#9) * Create Readme.md * Create readme.md * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Delete DesignElements.md * Add files via upload * Update Design Elements.md * Add files via upload * Update Design Elements.md * Update Landing Page.md * Update Landing Page.md * Update Landing Page.md * Update Roadmap.md * Update Roadmap.md * Update Roadmap.md * Update Roadmap.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Overview.md * Update Overview.md * Update Landing Page.md * Update Roadmap.md * Update Roadmap.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Overview.md * Update Roadmap.md * Update Overview.md * Update Overview.md * Update Overview.md * Add files via upload * Add files via upload * Add files via upload * Delete OSCAL_ContentPage_Sample.png * Update Landing Page.md * Update Landing Page.md * Update Content Page.md * Update Content Page.md * Update Content Page.md * Update Products.md * Update Products.md * Update Products.md * Add files via upload * Update Design Elements.md * Update Case Studies.md * Add files via upload * Delete Products.md * Delete Roadmap.md * Update Design Elements.md * Add files via upload * Add files via upload * Update Landing Page.md * Update Overview.md * Add files via upload * Update Get Involved.md * Update Get Involved.md * Update Get Involved.md * Update Get Involved.md * Update Design Elements.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Delete OSCAL_Logo1.png * Delete OSCAL_Logo2.png * Delete OSCAL_Logo3.png * Delete OSCAL_Logo4.png * Add files via upload * Update Design Elements.md * Delete OSCAL_Logo1.png * Delete OSCAL_Logo2.png * Add files via upload * Delete OSCAL_Logo1.png * Add files via upload * Update Readme.md * Update Get Involved.md * Rename Case Studies.md to Case Study.md * Update Case Study.md * Update Scenario.md * Update Producer.md * Update Producer.md * Update Consumer.md * Update Consumer.md * Update Get Involved.md * Update Producer.md * Update Consumer.md * Update Producer.md * Delete Design Elements.md * Update Get Involved.md * Update Consumer.md * Update Producer.md * Add files via upload * Add files via upload * Update Contact.md * Update Contact.md * Update Consumer.md * Update Producer.md * Update and rename Overview.md to LearnMore.md * Rename LearnMore.md to Learn More.md * Update Contact.md * Update Contact.md * Update Learn More.md * Create Schemas.md * Update Schemas.md * Update Schemas.md * Update Schemas.md * Create Producer Examples.md * Update Schemas.md * Delete Content Page.md * Update and rename Producer Examples.md to Consumer Examples.md * Update Scenario.md * Update Scenario.md * Delete Landing Page.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Feature metaschema d2 next (usnistgov#277) * Patched with changes from feature-metaschema-d2 * Moving testing schema into schema/demo dir for more robust testing of (portable, replicable) metaschema infrastructure * Cleanup and refactoring metaschema production for demo * Patched with changes from feature-metaschema-d2 * Cleanup and refactoring metaschema production for demo * More adjustments and documentation of metaschema * Adjustments to metaschema notes doc * Now supporting namespace assignment per metaschema * Better support for modular metaschemas * Metaschema support for namespaces, acquired (imported) models * Scrubbing old prose modules * Metaschema XML documentation now respecting namespaces in XML artifacts * Minor tweaks to comments * More improvements in view of namespaces. JSON examples not yet working. * Better handling of examples now * Removing unneeded test files * Correcting syntax error * Adjustments in demo metaschema * Added draft metadata to SP800-53 profiles; also new SP800-53 catalog with (draft) metadata. * Adding Markdown-conversion and JSON-handling code * 'Hardening' markdown conversion * Adding placeholder files for new catalog and profile metaschemas with namespace support - nb namespaces assigned have not been changed. But namespace support in the metaschema infrastructure can be tested. * Cleaning up catalog and profile schemas (with namespaces) and examples * Updated demo schema readme * Tighter co-occurrence testing * docs redesign prototype * add Docker artifacts for dev * volume mount quotes * walkthrough prototype * add walkthrough page * use official nist header and foot * initial refactor based on new site map * site nav prototyping * oscalkit addition * Test * fix sidenav and schema ref * Early version JSON-docs production from metaschema * Removed unwanted namespace declarations from XML samples * Removed unwanted namespace declaration from XML samples * Experiments with serialization of XML literals in JSON from XSLT pipeline * Travis website updates (#3) * Website Updates - Splash Page * fix sidenav and schema ref * Updates based on initial NIST feedback (#4) * relationship page per Wendell (#5) * Setting up metaschema documentation -- HTML feed for Jekyll * Improved serialization on working example * Improved serialization * Now added uswds tables * Now including JSON examples * On XML and JSON examples, now emulating mockup with hooks for Jekyll/uswds CSS and scripting * More enhancements to schema docs * Adding catalog schema docs as HTML fragments * Testing documentation handling * Testing documentation; metaschema Schematron adjustment * Adding YAML header to top level file * Reverting back to safer version * Now including docs for elements included in metaschemas via import from other metaschemas (35 new files) usnistgov#286 usnistgov#314 * Provided descriptive YAML headers to HTML outputs from metaschema docs production for Jekyll integration. * New file set in correct subdirectory for Jekyll * Removing extraneous file left from debugging * Removing diagnostic output from metaschema docs generation * Corrected production of header id for navigation * Providing some simple tagging for syntax coloring over XML literals * Improvements to representation of samples in schema docs, now to use Jekyll syntax highlighting. * Moving the documentation outputs to a path for Jekyll * More corrections to samples serializations * merge split html from metaschema * JSON prettify block * Initial Schema Formatting * css changes * Revert "Docs redesign (#9)" This reverts commit ef1e5a9.
Sprint Progress Report March 18 2019 This work has surfaced a number of requirements for schema documentation now underway, including:
Work can be found in my |
Sprint Progress March 21 2019 Much progress here. Getting closer. Finishing this Issue has a dependency on #327 -- the docs pipeline working with the new modularity model. |
Latest version posted to S3: |
Progress April 4 2019 Work has been done including new feature to provide for amending documentation when models import definitions from other models. More testing would be useful. Suggest I make a PR for review? Work is here: https://github.com/wendellpiez/OSCAL/tree/docs-redesign |
4/4/2019 - @wendellpiez has completed work, and needs to create a PR for review and acceptance. Also, see Issue #327. @anweiss to clean up navigation issues by COB 4/5. |
…om other metaschemas (35 new files) usnistgov#286 usnistgov#314
* Feature metaschema d2 next (usnistgov#277) * Patched with changes from feature-metaschema-d2 * Moving testing schema into schema/demo dir for more robust testing of (portable, replicable) metaschema infrastructure * Cleanup and refactoring metaschema production for demo * Patched with changes from feature-metaschema-d2 * Cleanup and refactoring metaschema production for demo * More adjustments and documentation of metaschema * Adjustments to metaschema notes doc * Now supporting namespace assignment per metaschema * Better support for modular metaschemas * Metaschema support for namespaces, acquired (imported) models * Scrubbing old prose modules * Metaschema XML documentation now respecting namespaces in XML artifacts * Minor tweaks to comments * More improvements in view of namespaces. JSON examples not yet working. * Better handling of examples now * Removing unneeded test files * Correcting syntax error * Adjustments in demo metaschema * Added draft metadata to SP800-53 profiles; also new SP800-53 catalog with (draft) metadata. * Adding Markdown-conversion and JSON-handling code * 'Hardening' markdown conversion * Adding placeholder files for new catalog and profile metaschemas with namespace support - nb namespaces assigned have not been changed. But namespace support in the metaschema infrastructure can be tested. * Cleaning up catalog and profile schemas (with namespaces) and examples * Updated demo schema readme * Tighter co-occurrence testing * Docs redesign (#9) * Create Readme.md * Create readme.md * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Delete DesignElements.md * Add files via upload * Update Design Elements.md * Add files via upload * Update Design Elements.md * Update Landing Page.md * Update Landing Page.md * Update Landing Page.md * Update Roadmap.md * Update Roadmap.md * Update Roadmap.md * Update Roadmap.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Case Studies.md * Update Overview.md * Update Overview.md * Update Landing Page.md * Update Roadmap.md * Update Roadmap.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Overview.md * Update Roadmap.md * Update Overview.md * Update Overview.md * Update Overview.md * Add files via upload * Add files via upload * Add files via upload * Delete OSCAL_ContentPage_Sample.png * Update Landing Page.md * Update Landing Page.md * Update Content Page.md * Update Content Page.md * Update Content Page.md * Update Products.md * Update Products.md * Update Products.md * Add files via upload * Update Design Elements.md * Update Case Studies.md * Add files via upload * Delete Products.md * Delete Roadmap.md * Update Design Elements.md * Add files via upload * Add files via upload * Update Landing Page.md * Update Overview.md * Add files via upload * Update Get Involved.md * Update Get Involved.md * Update Get Involved.md * Update Get Involved.md * Update Design Elements.md * Add files via upload * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Update Design Elements.md * Delete OSCAL_Logo1.png * Delete OSCAL_Logo2.png * Delete OSCAL_Logo3.png * Delete OSCAL_Logo4.png * Add files via upload * Update Design Elements.md * Delete OSCAL_Logo1.png * Delete OSCAL_Logo2.png * Add files via upload * Delete OSCAL_Logo1.png * Add files via upload * Update Readme.md * Update Get Involved.md * Rename Case Studies.md to Case Study.md * Update Case Study.md * Update Scenario.md * Update Producer.md * Update Producer.md * Update Consumer.md * Update Consumer.md * Update Get Involved.md * Update Producer.md * Update Consumer.md * Update Producer.md * Delete Design Elements.md * Update Get Involved.md * Update Consumer.md * Update Producer.md * Add files via upload * Add files via upload * Update Contact.md * Update Contact.md * Update Consumer.md * Update Producer.md * Update and rename Overview.md to LearnMore.md * Rename LearnMore.md to Learn More.md * Update Contact.md * Update Contact.md * Update Learn More.md * Create Schemas.md * Update Schemas.md * Update Schemas.md * Update Schemas.md * Create Producer Examples.md * Update Schemas.md * Delete Content Page.md * Update and rename Producer Examples.md to Consumer Examples.md * Update Scenario.md * Update Scenario.md * Delete Landing Page.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Update Learn More.md * Feature metaschema d2 next (usnistgov#277) * Patched with changes from feature-metaschema-d2 * Moving testing schema into schema/demo dir for more robust testing of (portable, replicable) metaschema infrastructure * Cleanup and refactoring metaschema production for demo * Patched with changes from feature-metaschema-d2 * Cleanup and refactoring metaschema production for demo * More adjustments and documentation of metaschema * Adjustments to metaschema notes doc * Now supporting namespace assignment per metaschema * Better support for modular metaschemas * Metaschema support for namespaces, acquired (imported) models * Scrubbing old prose modules * Metaschema XML documentation now respecting namespaces in XML artifacts * Minor tweaks to comments * More improvements in view of namespaces. JSON examples not yet working. * Better handling of examples now * Removing unneeded test files * Correcting syntax error * Adjustments in demo metaschema * Added draft metadata to SP800-53 profiles; also new SP800-53 catalog with (draft) metadata. * Adding Markdown-conversion and JSON-handling code * 'Hardening' markdown conversion * Adding placeholder files for new catalog and profile metaschemas with namespace support - nb namespaces assigned have not been changed. But namespace support in the metaschema infrastructure can be tested. * Cleaning up catalog and profile schemas (with namespaces) and examples * Updated demo schema readme * Tighter co-occurrence testing * docs redesign prototype * add Docker artifacts for dev * volume mount quotes * walkthrough prototype * add walkthrough page * use official nist header and foot * initial refactor based on new site map * site nav prototyping * oscalkit addition * Test * fix sidenav and schema ref * Early version JSON-docs production from metaschema * Removed unwanted namespace declarations from XML samples * Removed unwanted namespace declaration from XML samples * Experiments with serialization of XML literals in JSON from XSLT pipeline * Travis website updates (#3) * Website Updates - Splash Page * fix sidenav and schema ref * Updates based on initial NIST feedback (#4) * relationship page per Wendell (#5) * Setting up metaschema documentation -- HTML feed for Jekyll * Improved serialization on working example * Improved serialization * Now added uswds tables * Now including JSON examples * On XML and JSON examples, now emulating mockup with hooks for Jekyll/uswds CSS and scripting * More enhancements to schema docs * Adding catalog schema docs as HTML fragments * Testing documentation handling * Testing documentation; metaschema Schematron adjustment * Adding YAML header to top level file * Reverting back to safer version * Now including docs for elements included in metaschemas via import from other metaschemas (35 new files) usnistgov#286 usnistgov#314 * Provided descriptive YAML headers to HTML outputs from metaschema docs production for Jekyll integration. * New file set in correct subdirectory for Jekyll * Removing extraneous file left from debugging * Removing diagnostic output from metaschema docs generation * Corrected production of header id for navigation * Providing some simple tagging for syntax coloring over XML literals * Improvements to representation of samples in schema docs, now to use Jekyll syntax highlighting. * Moving the documentation outputs to a path for Jekyll * More corrections to samples serializations * merge split html from metaschema * JSON prettify block * Initial Schema Formatting * css changes * Revert "Docs redesign (#9)" This reverts commit ef1e5a9.
04/11/2019 |
4-19-19The development of the pipeline has been completed. @wendellpiez and @david-waltermire-nist will work on the CI integration today. |
5/2/2019Documentation production is stable. More documentation with examples should be written, but this is an ongoing process. Waiting for @david-waltermire-nist to review the documentation production and close it. @howieavp76 will push a preview of the site that has the docuemntation in it eventhough @anweiss did not accept yet @wendellpiez's PR. |
5/9/2019We identified Metadata is appearing as a root element. @wendellpiez will address this. |
I addressed the bug -- elements being incorrectly marked as "root" when they are roots of their modules, but not roots of the metaschema into which the module is called. However in doing so I uncovered another issue. The schema documentation is not caught up with the metaschema processing logic now in Advice? I could borrow the file I need perhaps by rebasing one branch on the other. Or (less crazy?) we could complete this adjustment after the merge. Outputs (the schema documentation files) will look the same after this adjustment. |
Now fixed in my branch: https://github.com/wendellpiez/OSCAL/tree/docs-redesign
|
User Story:
On the Pages site, I can find reliable, complete and legible documentation on the tags (objects, elements) in the respective schemas.
Goals:
A documentation pipeline that produces HTML with internal links is underway; it produces a set of HTML pages suitable for ingestion by Jekyll. We need to finish this production, test it and integrate it into CI so that it runs whenever metaschemas change (warranting updates to their docs).
Dependencies:
This picks up #286. The current code was migrated from earlier code. A stable target is a dependency: now we have the Jekyll/uswds Pages site design.
The effort entails some design work (on the Pages site) as well as implementation; designing it may entail some scoping and definition of functional requirements for users of these resources.
Acceptance Criteria
All active metaschemas are documented on the Pages site, using a means that is sustainable over the long term (as schemas evolve).
Note that the completeness and accuracy of the documentation itself is not a criterion for acceptance.
The text was updated successfully, but these errors were encountered: