-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Initial docs structure and infrastructure #1272
Draft
matejmatuska
wants to merge
19
commits into
oamg:main
Choose a base branch
from
matejmatuska:introduce-docs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b8b054b
DOCS: Initial docs structure and infrastructure
matejmatuska 36ed571
[WIP] - add dracut modules and upgrade initramfs doc
matejmatuska f74ee70
DOCS: add coding and commit guidelines
87df75b
docs(configs): add how to declare and use configs
c96c519
docs(target_userspace_creator): add docs
1b05868
DOC: templates: added initial template for kernel drivers
pirat89 34ce00d
DOC: templates: Add template for execution of custom script
pirat89 4ac5c0d
Makefile: isort: do not check doc files
pirat89 f5b068c
Add How to write upgrade actors
dkubek d897b18
DOC: include .readthedoc.yaml configuration
pirat89 68a0609
Doc: Add Installation and Building instructions
pirat89 60aafab
DOC: FAQ
pirat89 a999dcf
Add tutorial: troubleshooting and debugging
matejmatuska 92b9798
Configuring in-place upgrade: envars
matejmatuska d26b606
envars: Add LEAPP_DISABLE_NET_NAMING_SCHEMES and LEAPP_DEVEL_ENABLE_L…
matejmatuska d2bd29c
Refactor local build instructions
matejmatuska 0f2ee2a
DOC: Add deprecations list
matejmatuska 81246d3
DOC: Document IPUWorkflow and phases
pirat89 f39c530
DOC: tutorial: custom content
pirat89 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# 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: | ||
os: ubuntu-24.04 | ||
tools: | ||
python: "3.10" | ||
# 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/source/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 | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
# formats: | ||
# - 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-docs.txt |
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,31 @@ | ||
SPHINXOPTS = | ||
SPHINXBUILD = sphinx-build | ||
SPHINXAUTOBUILD = sphinx-autobuild | ||
SPHINXPROJ = Leapp repository | ||
SOURCEDIR = source | ||
BUILDDIR = build | ||
|
||
all: clean html | ||
|
||
help: | ||
@source venv/bin/activate && \ | ||
$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
livehtml: | ||
@source venv/bin/activate && \ | ||
$(SPHINXAUTOBUILD) --watch ../repos --watch ../commands "$(SOURCEDIR)" "$(BUILDDIR)/html" $(SPHINXOPTS) $(0) | ||
|
||
# Prepare virtualenv similar to the environment used during build on Read The Docs and install required packages | ||
env: | ||
@PY_VER=$$(sed -n -e 's/^\s*python:\s"\(.*\)"/\1/p' ../.readthedocs.yaml); \ | ||
rm -fr ./venv; \ | ||
virtualenv venv --python=python$$PY_VER && \ | ||
source venv/bin/activate && \ | ||
pip install -r requirements-docs.txt; | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@source venv/bin/activate && \ | ||
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: all help Makefile env |
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,7 @@ | ||
sphinx==7.2.6 | ||
sphinx_rtd_theme | ||
sphinxcontrib-jquery | ||
docutils | ||
CommonMark | ||
myst-parser | ||
sphinx-autobuild |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will automatically build html without the need to think about it