Skip to content
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: autoinstall tutorial #1708

Merged
merged 15 commits into from
Jul 13, 2023
Merged
2 changes: 2 additions & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_build
.sphinx
17 changes: 12 additions & 5 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# -- Project information -----------------------------------------------------

project = 'Ubuntu Install Guide'
copyright = f'Canonical Group Ltd, {datetime.date.today().year}'
copyright = f'Canonical Group Ltd, 2020 - {datetime.date.today().year}'
dbungert marked this conversation as resolved.
Show resolved Hide resolved

# -- General configuration ---------------------------------------------------

Expand All @@ -34,11 +34,17 @@
# ones.

extensions = [
'm2r2',
'sphinx.ext.intersphinx',
dbungert marked this conversation as resolved.
Show resolved Hide resolved
'sphinx_copybutton',
'sphinx_design',
]

intersphinx_mapping = {
'cloud-init': (
'https://canonical-cloud-init.readthedocs-hosted.com/en/latest',
None
)
}

# Add any paths that contain templates here, relative to this directory.

Expand All @@ -47,8 +53,8 @@
# The suffix of source filenames.
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'
# The root toctree document.
root_doc = 'index'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand All @@ -62,7 +68,8 @@
# This pattern also affects html_static_path and html_extra_path.

exclude_patterns = [
".sphinx/venv/*",
'.sphinx/venv/*',
'README.md',
]

# Sphinx-copybutton config options:
Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _index:

Subiquity documentation
#######################
Ubuntu Installation documentation
#################################

A single sentence that says what the product is, succinctly and memorably
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
Expand Down
186 changes: 186 additions & 0 deletions doc/reference/autoinstall-reference.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
.. _ai:

Autoinstall configuration reference manual
******************************************

.. _ai-active-directory:

active-directory
================

stub

.. _ai-apt:

apt
=======

stub

.. _ai-codecs:

codecs
======

stub

.. _ai-debconf-selections:

debconf-selections
==================

stub

.. _ai-early-commands:

early-commands
==============

stub

.. _ai-error-commands:

error-commands
==============

stub

.. _ai-identity:

identity
========

stub

.. _ai-interactive-sections:

interactive-sections
====================

stub

.. _ai-kernel:

kernel
======

stub

.. _ai-keyboard:

keyboard
========

stub

.. _ai-late-commands:

late-commands
=============

stub

.. _ai-locale:

locale
======

stub

.. _ai-network:

network
=======

stub

.. _ai-oem:

oem
===

stub

.. _ai-packages:

packages
========

stub

.. _ai-proxy:

proxy
=====

stub

.. _ai-refresh-installer:

refresh-installer
=================

stub

.. _ai-reporting:

reporting
=========

stub

.. _ai-shutdown:

shutdown
========

stub

.. _ai-snaps:

snaps
=====

stub

.. _ai-ssh:

ssh
===

stub

.. _ai-storage:

storage
=======

stub

.. _ai-ubuntu-pro:

ubuntu-pro
==========

stub

.. _ai-updates:

updates
=======

stub

.. _ai-user-data:

user-data
=========

stub

.. _ai-version:

version
=======

stub
9 changes: 9 additions & 0 deletions doc/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ Our reference section contains support information for Subiquity.
This includes details on the network requirements, API definitions, support
matrices and so on.

Autoinstall reference manual
============================


.. toctree::
:maxdepth: 1

autoinstall-reference.rst

-----

.. toctree::
Expand Down
17 changes: 5 additions & 12 deletions doc/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,13 @@ capable of.

-----

Core tutorial
=============
Introduction to autoinstall
===========================

<some blurb here>
This tutorial introduces the core concepts of autoinstall and is recommended as
the first step.

.. toctree::
:maxdepth: 1

Quick-start tutorial
====================

<some blurb here>

.. toctree::
:maxdepth: 1


intro-to-autoinstall.rst