Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a43b37e
Rename README.md to README.rst
pswens Dec 7, 2023
e3e3eb7
pyproject.toml
pswens Dec 7, 2023
80fa791
lumache.py
pswens Dec 7, 2023
184b891
.readthedocs.yml
pswens Dec 7, 2023
60f984f
Update .readthedocs.yml
pswens Dec 7, 2023
811818b
Delete lumache.py
pswens Dec 7, 2023
e0f5e2a
Delete pyproject.toml
pswens Dec 7, 2023
611255a
Rename README.rst to README.md
pswens Dec 7, 2023
8cbb39b
Update .readthedocs.yml
pswens Dec 7, 2023
cafc7de
Create conf.py
pswens Dec 7, 2023
a7090f2
Update conf.py
pswens Dec 7, 2023
ccd2f13
Update conf.py
pswens Dec 7, 2023
6916472
Update .readthedocs.yml
pswens Dec 7, 2023
5cb8207
Update conf.py
pswens Dec 7, 2023
5677aef
Update conf.py
pswens Dec 7, 2023
1b20568
Update .readthedocs.yml
pswens Dec 7, 2023
67aa52f
Update .gitignore
pswens Dec 7, 2023
6f6a68c
Update .gitignore
pswens Dec 7, 2023
15bc599
Update .readthedocs.yml
pswens Dec 7, 2023
c481fde
Create requirements.txt
pswens Dec 7, 2023
877a18f
Update requirements.txt
pswens Dec 7, 2023
b443b2a
Update requirements.txt
pswens Dec 7, 2023
a07379e
Update requirements.txt
pswens Dec 7, 2023
425ee5d
Update requirements.txt
pswens Dec 7, 2023
16a8763
Update requirements.txt
pswens Dec 7, 2023
5b5b883
Update requirements.txt
pswens Dec 7, 2023
985a891
Update requirements.txt
pswens Dec 7, 2023
bce09d3
Update conf.py
pswens Dec 7, 2023
8905175
Update conf.py
pswens Dec 7, 2023
538cb85
Update requirements.txt
pswens Dec 7, 2023
2346fc1
Update .readthedocs.yml
pswens Dec 8, 2023
1f47a58
Update requirements.txt
pswens Dec 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

docs/
_build/
conf.py

_tmp/

36 changes: 30 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,35 @@
# Reference: https://docs.readthedocs.io/en/latest/yaml-config.html
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
image: latest
os: ubuntu-22.04
tools:
python: "2.7"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Possible options: htmlzip, pdf, epub
# Disable (single) htmlzip as it's way too big to be useful,
# and leads to excessive memory usage on build
# Disable epub and pdf for now to speed up builds
# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
92 changes: 92 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'CIS Controls Assessment Specification'
copyright = '2023, Center for Internet Security'
author = 'Center for Internet Security'
release = '0.1'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = [
# 'sphinx.ext.imgconverter',
# 'myst_parser',
'sphinx_last_updated_by_git',
# 'sphinx.ext.intersphinx',
# 'sphinxcontrib.video',
# 'linuxdoc.rstFlatTable',
'sphinx.ext.viewcode',
# 'sphinx_tabs.tabs',
# 'sphinx-prompt',
# 'sphinx_toolbox.collapse',
# 'sphinx_toolbox.more_autosummary',
]

templates_path = ['_templates']
exclude_patterns = []

# -- Options for intersphinx -------------------------------------------------
#intersphinx_mapping = {
#}

# We recommend adding the following config value.
# Sphinx defaults to automatically resolve *unresolved* labels using all your Intersphinx mappings.
# This behavior has unintended side-effects, namely that documentations local references can
# suddenly resolve to an external location.
# See also:
# https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_disabled_reftypes
intersphinx_disabled_reftypes = ["*"]
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'furo'
html_static_path = ['_static']

html_short_title = 'CIS Controls Assessment Specification'
html_title = 'CIS Controls Assessment Specification'

html_theme_options = {
'light_logo': 'CIS_Controls.jpg',
"light_css_variables": {
"font-stack": "acumin-pro, sans-serif",
"font-stack--monospace": "Courier, monospace",
},
}

html_css_files = [
'https://use.typekit.net/rcq0ndn.css',
]

html_favicon = '_static/favicon.ico'

# -- Options for MyST --------------------------------------------------------
# https://myst-parser.readthedocs.io/en/stable/configuration.html

#latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
# 'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
# 'pointsize': '11pt',

# Additional stuff for the LaTeX preamble.
# 'preamble': r'''
# \usepackage{charter}
# \usepackage[defaultsans]{lato}
# \usepackage{inconsolata}
# ''',
#}

myst_enable_extensions = [
'colon_fence',
]

myst_heading_anchors = 5


6 changes: 6 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#requirments.txt

#sphinx==2.4.1
#Jinja2==2.11.3

#sphinx_last_update_by_git