-
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
11 changed files
with
308 additions
and
1 deletion.
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
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,11 @@ | ||
version: 2 | ||
|
||
python: | ||
install: | ||
- path: . | ||
extra_requirements: | ||
- docs | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" |
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,48 @@ | ||
project = 'CMake Template' | ||
copyright = '2023, Cristian Le' | ||
author = 'Cristian Le' | ||
|
||
extensions = [ | ||
"myst_parser", | ||
"sphinx_design", | ||
"sphinx_togglebutton", | ||
"sphinx_copybutton", | ||
"sphinx_prompt", | ||
"breathe", | ||
"sphinx.ext.intersphinx", | ||
"sphinx_tippy", | ||
] | ||
|
||
templates_path = [] | ||
exclude_patterns = [ | ||
'build', | ||
'_build', | ||
'Thumbs.db', | ||
'.DS_Store', | ||
] | ||
source_suffix = [".md"] | ||
|
||
|
||
html_theme = 'furo' | ||
|
||
myst_enable_extensions = [ | ||
"tasklist", | ||
"colon_fence", | ||
] | ||
|
||
intersphinx_mapping = { | ||
"cmake": ("https://cmake.org/cmake/help/latest", None), | ||
"sphinx": ("https://www.sphinx-doc.org/en/master", None), | ||
"rtd": ("https://docs.readthedocs.io/en/stable", None), | ||
"tmt": ("https://tmt.readthedocs.io/en/stable", None), | ||
} | ||
|
||
tippy_rtd_urls = [ | ||
## Only works with RTD hosted intersphinx | ||
# "https://cmake.org/cmake/help/latest", | ||
# "https://www.sphinx-doc.org/en/master", | ||
"https://docs.readthedocs.io/en/stable", | ||
"https://tmt.readthedocs.io/en/stable", | ||
] | ||
|
||
copybutton_exclude = ".linenos, .gp, .go" |
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,6 @@ | ||
# Developer guide | ||
|
||
This is a developer's guide intended to explain many of the paradigms used in | ||
this template project | ||
|
||
**Coming soon** |
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,11 @@ | ||
# Guides | ||
|
||
```{toctree} | ||
--- | ||
maxdepth: 2 | ||
titlesonly: true | ||
caption: Guides | ||
glob: true | ||
--- | ||
* | ||
``` |
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,6 @@ | ||
# User guide | ||
|
||
This is a general guide for how a user can interact with modern CMake project | ||
that follows such a template | ||
|
||
**Coming soon** |
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,29 @@ | ||
# CMake Template | ||
|
||
```{toctree} | ||
--- | ||
maxdepth: 2 | ||
titlesonly: true | ||
caption: Contents | ||
hidden: true | ||
glob: true | ||
--- | ||
self | ||
guides/index.md | ||
``` | ||
|
||
```{include} ../README.md | ||
--- | ||
start-after: <!-- SPHINX-START --> | ||
end-before: <!-- SPHINX-END --> | ||
--- | ||
``` | ||
|
||
[cmake-presets]: inv:cmake:std:doc#manual/cmake-presets.7 | ||
[copr]: https://copr.fedorainfracloud.org/ | ||
[fedora]: https://src.fedoraproject.org/ | ||
[packit]: https://packit.dev | ||
[pre-commit]: https://pre-commit.com/ | ||
[sphinx]: inv:rtd:std:doc#intro/getting-started-with-sphinx | ||
[testing-farm]: https://docs.testing-farm.io/Testing%20Farm/0.1/index.html | ||
[tmt]: inv:tmt:std:doc#index |
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,30 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "CMake-Template-dev" | ||
version = "0.0.0" | ||
description = "Development environment for CMake Template" | ||
readme = "README.md" | ||
license = { file = "LICENSE" } | ||
|
||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"sphinx >= 7.0", | ||
"furo", | ||
"sphinx-design", | ||
"sphinx-togglebutton", | ||
"myst-parser", | ||
"breathe", | ||
"sphinx-tippy", | ||
"sphinx-copybutton", | ||
"sphinx-prompt", | ||
] | ||
dev = [ | ||
"pre-commit", | ||
] | ||
|
||
[tool.setuptools] | ||
packages = [] |
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