-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
153 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Connectors | ||
|
||
This part contains documentation from installed connectors. | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# General | ||
|
||
This part contains information intended to help developers to understand the inner workings of Colvert and connectors. | ||
|
||
This **Developer Documentation** may be refered as **"CodeDoc"**. | ||
|
||
## Development Environment | ||
|
||
### GitHub Codespaces Setup | ||
|
||
Create a personal **GitHub Codespaces** from scratch with ```colvert-project/colvert``` and ```origin/main``` remote repository. | ||
|
||
Some Visual Studio Code extensions can be settled in addition of default ones: | ||
|
||
* Python (_Microsoft_) | ||
* Python Debugger (_Microsoft_) | ||
* Pylance (_Microsoft_) | ||
* GitHub Actions (_GitHub_) | ||
* GitHub Copilot (_GitHub_) | ||
* GitHub Copilot Chat (_GitHub_) | ||
* markdownlint (_David Anson_) | ||
* Docker (_Microsoft_) | ||
* SQLite Viewer (_Florian Klampfer_) | ||
* autoDocstring - Python Docstring Generator (_Nils Werner_) | ||
+ <https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html> | ||
+ Settings > Extensions > Python Docstring Generator configuration > _Docstring Format_ > `sphinx` | ||
|
||
As reminder, in **GitHub Codespaces** states concerning opened tabs and settings (like color theme, etc.) are not saved until you set _Backup and Sync Settings_. | ||
|
||
## Documentation Build | ||
|
||
It uses **Sphinx** with a third-party GitHub workflow in `.github/workflows/build-docs.yml` to trigger build on `git push` action. It uses the third-party action [`sphinx-notes/pages@v3`](https://github.com/sphinx-notes/pages). | ||
|
||
|File |Usage | | ||
|-----------------------|-------------------------------------------------------------------------------------------------------------------------| | ||
|`static/` |Classic favicon, logo, and other static file to serve. | | ||
|`docs/requirements.txt`|pip packages needed by Sphinx to build documentation. Commented. | | ||
|`docs/conf.py` |Sphinx configuration. Commented. | | ||
|`CNAME` |Define the base URL for documentation. Not used by GitHub as built using a workflow, but used by `conf.py`. | | ||
|`index.rst.j2` |Jinja2 parsed first template (`conf.py`) to load docs from connectors, then Sphinx index using _reStructuredText_ format.| | ||
|`[*/]*.md` |All others documentation files in Markdown format. | | ||
|
||
Help links: | ||
|
||
* Sphinx docs for `conf.py`: <https://www.sphinx-doc.org/en/master/usage/configuration.html> | ||
* As we use `sphinx_rtd_theme` for Sphinx, here is some help for **docstrings** writing: <https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Mitre Attack | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,71 +12,66 @@ The tool consists of: | |
* The main application. | ||
* Connectors to potentially get data from providers and contextual more-valued information. | ||
|
||
Go to the main repository <https://github.com/colvert-project/colvert> for an overview of the tool. | ||
Go to the main repository https://github.com/colvert-project/colvert for an overview of the tool. | ||
|
||
* Website: <https://colvert.io> | ||
* Website: https://colvert.io | ||
* Contact: [email protected] | ||
|
||
Interesting Places | ||
================== | ||
|
||
* **Last Release:** <https://github.com/colvert-project/colvert/releases/latest> | ||
* **Packages:** <https://github.com/orgs/colvert-project/packages> | ||
* **Discussions:** <https://github.com/orgs/colvert-project/discussions> | ||
* **Issues Tracker:** <https://github.com/colvert-project/colvert/issues> | ||
* **Packages:** https://github.com/orgs/colvert-project/packages | ||
* **Discussions:** https://github.com/orgs/colvert-project/discussions | ||
* **Issues Tracker:** https://github.com/colvert-project/colvert/issues | ||
|
||
* **Security Policy:** <https://github.com/colvert-project/colvert/security/policy> | ||
* **Security Advisories:** <https://github.com/colvert-project/colvert/security/advisories> | ||
* **Security Policy:** https://github.com/colvert-project/colvert/security/policy | ||
* **Security Advisories:** https://github.com/colvert-project/colvert/security/advisories | ||
|
||
Contributing | ||
============ | ||
|
||
* How to contribute? | ||
* <https://github.com/colvert-project/colvert/blob/main/CONTRIBUTING.md> | ||
* How to contribute? | ||
https://github.com/colvert-project/colvert/blob/main/CONTRIBUTING.md | ||
|
||
* Colvert Contributor Code of Conduct: | ||
* <https://github.com/colvert-project/colvert/blob/main/CODE_OF_CONDUCT.md> | ||
* Colvert Contributor Code of Conduct: | ||
https://github.com/colvert-project/colvert/blob/main/CODE_OF_CONDUCT.md | ||
|
||
:tocdepth: 3 | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Usage Guide | ||
|
||
Getting-Started.md | ||
|
||
The following section contains documentation from installed connectors. | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Connectors Documentation | ||
{% for connector_doc in connector_docs %} | ||
{{ connector_doc }} | ||
{% endfor %} | ||
|
||
The following section contains information intended to help developers to understand the inner workings of the Colvert tool and Colvert connectors. | ||
Connectors.md | ||
{% for connector in connectors %} | ||
{{ connector }} | ||
{% endfor %} | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Developer Documentation | ||
|
||
General.md | ||
Dev-General.md | ||
Software-Architecture.md | ||
How-to-Build-Connectors.md | ||
Credits.md | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Core System Docstrings | ||
|
||
_generated/modules | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:caption: About | ||
|
||
Changelog <https://github.com/colvert-project/colvert/releases> | ||
colvert.io <https://colvert.io> | ||
|
||
Indices and tables | ||
================== | ||
Indices | ||
======= | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |