Skip to content

Commit

Permalink
doc/mkdocs: create the mkdocs config file (#24)
Browse files Browse the repository at this point in the history
* doc/mkdocs: create the mkdocs config file

* docs/mkdocs: PR review. update home and mkdocs version

* docs/dev: add mkdocs usage instructions
  • Loading branch information
mtulio committed Nov 3, 2022
1 parent 2119261 commit 5a1b8d1
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# OpenShift Provider Certification Tool

OpenShift Provider Certification Tool is used to evaluate an OpenShift installation on a provider or hardware is in conformance.

- [User Guide](./user.md)
- [Development Guide](./dev.md)
1 change: 1 addition & 0 deletions docs/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> TODO
18 changes: 18 additions & 0 deletions docs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,21 @@ vi /tmp/openshift-kube-conformance.yaml
```
openshift-provider-cert run --plugin /tmp/openshift-kube-conformance.yaml --plugin /tmp/openshift-conformance-validated.yaml
```

### Project Documentation

The documentation is available in the directory `docs/`. You can render it as HTML using `mkdocs` locally - it's not yet published the HTML version.

To run locally you should be using `python >= 3.8`, and install the `mkdocs` running:

```
pip install hack/docs-requirements.txt
```

Then, under the root of the project, run:

```
mkdocs serve
```

Then you will be able to access the docs locally on the address: http://127.0.0.1:8000/
1 change: 1 addition & 0 deletions hack/docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs==1.4
17 changes: 17 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
site_name: OpenShift Provider Certification Guide
repo_url: https://github.com/redhat-openshift-ecosystem/provider-certification-tool
edit_uri: edit/main/docs/
docs_dir: ./docs

theme:
name: readthedocs
highlightjs: true
hljs_languages:
- yaml
nav:
- "User Guide":
- "User Guide": "user.md"
- "Support Guide":
- "Support Guide": TODO.md
- "Developer Guide":
- "Development Guide": dev.md

0 comments on commit 5a1b8d1

Please sign in to comment.