Skip to content

Commit

Permalink
chore(docs): restructuring of API documentation (#1711)
Browse files Browse the repository at this point in the history
Back end update to clean up documentation website

Signed-off-by: Chris Butler <[email protected]>
  • Loading branch information
butler54 authored Oct 31, 2024
1 parent 80d9a9f commit 17e9ae3
Show file tree
Hide file tree
Showing 323 changed files with 1,111 additions and 522 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/python-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ jobs:
continue-on-error: true
run: |
make code-typing
- name: Install documenation dependencies
if: steps.core-version.outputs.core == 'true'
run: |
make docs-ubuntu-deps
- name: Validate website content (mkdocs)
if: steps.core-version.outputs.core == 'true'
run: |
Expand Down Expand Up @@ -176,6 +180,9 @@ jobs:
- name: Install build tools
run: |
make develop
- name: Install documenation dependencies
run: |
make docs-ubuntu-deps
- name: Create release
shell: bash
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
continue-on-error: true
run: |
make code-typing
- name: Install documenation dependencies
run: |
make docs-ubuntu-deps
- name: Validate website content (mkdocs)
run: |
make docs-validate
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ tmp_bin_test

/venv.trestle/

# mkdocs
.cache/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ repos:
rev: 0.7.17
hooks:
- id: mdformat
exclude: "CHANGELOG.md|docs/mkdocs_code_of_conduct.md|docs/maintainers.md|docs/api_reference|tests/data/author|docs/contributing/mkdocs_contributing.md|tests/data/jinja_markdown_include|tests/data/jinja_cmd/number_captions_data.md|tests/data/jinja_cmd/number_captions_expected_output.md"
exclude: "CHANGELOG.md|docs/contributing/maintainers.md|docs/reference/API|tests/data/author|docs/contributing/index.md|tests/data/jinja_markdown_include|tests/data/jinja_cmd/number_captions_data.md|tests/data/jinja_cmd/number_captions_expected_output.md"
additional_dependencies:
- mdformat-tables
- mdformat-config
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ e.g.

We have tried to make it as easy as possible to make contributions. This
applies to how we handle the legal aspects of contribution. We use the
same approach - the [Developer's Certificate of Origin 1.1 (DCO)](https://oscal-compass.github.io/compliance-trestle/contributing/DCO/) - that the Linux® Kernel [community](https://elinux.org/Developer_Certificate_Of_Origin)
same approach - the [Developer's Certificate of Origin 1.1 (DCO)](https://oscal-compass.github.io/compliance-trestle/contributing/DCO/) - that the Linux® Kernel [community](https://developercertificate.org/)
uses to manage code contributions.

We simply ask that when submitting a patch for review, the developer
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,17 @@ release::
gen-oscal::
python ./scripts/gen_oscal.py

docs-osx-deps:
brew install cairo freetype libffi libjpeg libpng zlib

docs-ubuntu-deps:
sudo apt-get -y install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev

docs-automation::
python ./scripts/website_automation.py

docs-validate:: docs-automation
mkdocs build -v -c -s
mkdocs build -c -s
rm -rf site

docs-serve: docs-automation
Expand Down
2 changes: 0 additions & 2 deletions docs/api_reference/trestle.cli.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.common_types.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.const.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.err.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.file_utils.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.list_utils.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.load_validate.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.log.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.model_utils.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.str_utils.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.trash.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.common.type_utils.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.all_validator.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.base_model.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.catalog.catalog_api.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.catalog.catalog_interface.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.catalog.catalog_merger.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.catalog.catalog_reader.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.catalog.catalog_writer.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.catalog_validator.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.add.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.assemble.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.catalog.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.command.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.common.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.component.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.consts.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.docs.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.folders.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.headers.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.jinja.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.prof.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.author.ssp.md

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.command_docs.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.common.cmd_utils.md

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.create.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.describe.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.href.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.import_.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.init.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.merge.md

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.remove.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.replicate.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.split.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.task.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.validate.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.commands.version.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.control_context.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.control_interface.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.control_reader.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.control_writer.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.crm.bycomp_interface.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.crm.export_reader.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.crm.export_writer.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.crm.leveraged_statements.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.crm.ssp_inheritance_api.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.docs_control_writer.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.draw_io.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.duplicates_validator.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.generators.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.generic_oscal.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.jinja.base.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.jinja.ext.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.jinja.filters.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.jinja.tags.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.links_validator.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.markdown.markdown_api.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.markdown.markdown_const.md

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.markdown.md_writer.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.models.actions.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.models.elements.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.models.file_content_type.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.models.interfaces.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.models.plans.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.object_factory.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.parser.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.pipeline.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.plugins.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.profile_resolver.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.refs_validator.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.remote.cache.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.repository.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.resolver.merge.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.resolver.modify.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.resolver.prune.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.rule_parameters_validator.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.ssp_io.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.trestle_base_model.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.validator.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.core.validator_factory.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.assessment_plan.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.assessment_results.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.catalog.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.common.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.component.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.poam.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.profile.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.oscal.ssp.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.tasks.base_task.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/api_reference/trestle.tasks.cis_xlsx_to_oscal_catalog.md

This file was deleted.

Loading

0 comments on commit 17e9ae3

Please sign in to comment.