You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/developer/create-release.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,21 +7,21 @@ To create a new release, follow these steps:
7
7
#. Create a new branch for your release. The branch name should follow the format: ``release/<VERSION>``, where ``<VERSION>`` is the version number you are releasing (e.g., ``release/1.0.0``).
8
8
#. Run the alias :command:`bump-version.sh` to update the version number in the project files. For example:
9
9
10
-
.. code-block:: shell
10
+
.. code-block:: shell-session
11
11
:caption: Bump the version number
12
12
13
-
bump-version.sh minor
13
+
$ bump-version.sh minor
14
14
15
15
This will update the version number to the next minor version (e.g., from `1.0.0` to `1.1.0`).
16
16
#. Update the changelog (see :ref:`update-changelog` for details).
17
17
#. Commit your changes with a message that describes the release.
18
18
#. Wait for the CI to pass. If it fails, fix the issues and commit again.
19
19
#. If the CI passes, (squash-)merge your release branch into the main branch.
20
-
#. Tag the commit in the ``main`` branch with the version number. The release process is triggered by this tag in the format ``MAJOR.MINOR.PATCH``.
20
+
#. Tag the commit in the ``main`` branch with the version number. The release process is triggered by this tag in the format ``MAJOR.MINOR.PATCH``.
21
21
22
22
For example, if you are releasing version 1.1.0, you would tag the commit as follows:
Builds the documentation and deploys it to the `gh-pages` branch.
19
+
This is triggered on every push to the main branch and on pull requests that target the main. Furthermore it is only triggered if the workflow file itself is changed or anything inside the `docs/` directory.
Create a new release when a tag is pushed to the repository.
24
+
It is triggered by a tag in the format `MAJOR.MINOR.PATCH`, e.g. `1.0.0`.
25
+
Currently, it creates a release on GitHub where the description is automatically generated from pull requests and issues that are closed in the release.
26
+
The releases are available at |gh_release|.
27
+
28
+
29
+
Rulesets
30
+
--------
31
+
32
+
Under https://github.com/openSUSE/docbuild/settings/rules we have rulesets to protect the default branch and tags that matches the semantic versioning format.
Copy file name to clipboardExpand all lines: docs/source/developer/prepare-environment.rst
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.. _prepare-your-devel-environment:
1
+
.. _prepare-devel-env:
2
2
3
3
Preparing Your Development Environment
4
4
======================================
@@ -14,10 +14,18 @@ This document provides instructions for setting up a development environment for
14
14
possible to do so.
15
15
16
16
17
-
18
17
.. include:: devel-helpers.rst
19
18
20
19
20
+
GitHub CLI
21
+
----------
22
+
23
+
GiHub CLI is a command-line tool :command:`gh` allows you to interact with GitHub repositories and perform various tasks directly from the terminal.
24
+
25
+
It is not required for this project, but it can be useful for managing issues, pull requests, and other GitHub-related tasks directly from the terminal.
26
+
27
+
Find more information at `GitHub CLI <https://cli.github.com/>`_.
28
+
21
29
22
30
Starting the development environment
23
31
------------------------------------
@@ -29,6 +37,8 @@ The following steps are recommended to set up your development environment:
29
37
2. If you haven't created a virtual environment, do so:
30
38
31
39
.. code-block:: shell-session
40
+
:caption: Creating a virtual environment with |uv|
41
+
:name: uv-venv
32
42
33
43
$ uv venv --prompt venv313 --python 3.13 .venv
34
44
@@ -37,9 +47,11 @@ The following steps are recommended to set up your development environment:
37
47
The example above uses Python 3.13, but you can adjust it according to your needs as long as it is compatible with the project.
38
48
See file :file:`pyproject.toml` in ``project.requires-python`` for the exact version.
39
49
40
-
3. Syncronize the virtual environment with the project dependencies, but use the development group instead of the default group:
50
+
3. Synchronize the virtual environment with the project dependencies, but use the development group instead of the default group:
41
51
42
52
.. code-block:: shell-session
53
+
:caption: Synchronizing the virtual environment with the development dependencies
54
+
:name: uv-sync-devel
43
55
44
56
$ uv sync --frozen --group devel
45
57
@@ -48,6 +60,8 @@ The following steps are recommended to set up your development environment:
48
60
4. Optionally, source the shell aliases defined in :file:`devel/activate-aliases.sh` to abbreviate the longer :command:`uv` calls (see :ref:`devel-helpers` for more information):
49
61
50
62
.. code-block:: shell-session
63
+
:caption: Activating the shell aliases for development
In case you need to trigger a GitHub Action manually, you can do so by using the "Run workflow" button available in the "Actions" tab of the repository on GitHub.
7
+
8
+
Currently, the following workflows can be triggered manually:
Copy file name to clipboardExpand all lines: docs/source/glossary.rst
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,23 +6,39 @@ Glossary
6
6
7
7
Changelog
8
8
A record of all notable changes made in a project.
9
+
9
10
See also :ref:`update-changelog`.
10
11
12
+
DAPS
13
+
The *Documentation and Publishing System* (DAPS) is a tool to build documentation from DocBook or ADoc files.
14
+
It is used to generate various output formats such as HTML, PDF, and EPUB.
15
+
16
+
DC File
17
+
The *DAPS Configuration File* (DC file) is a configuration file used by DAPS to define parameters for building documentation. For example, it contains information about the entry file, what stylesheets to use, and other build options.
18
+
19
+
Deliverable
20
+
The smallest unit of documentation that can be built. It's mapped to a DC File. A deliverable is usually being built in different formats.
21
+
11
22
Docset
12
-
Usually a release or version of a project. For example, 15-SP6.
23
+
Usually a release or version of a project. For example, ``15-SP6``.
13
24
14
25
Doctype
15
26
A formal syntax to identify one or many set of documents.
16
27
The syntax is ``[PRODUCT]/[DOCSET][@LIFECYCLES]/LANGS`` and
17
28
contains product, docset, lifecycles, and language.
18
29
30
+
See also :ref:`doctype-syntax`.
31
+
19
32
Lifecycle
20
33
The state of a document in its lifecycle.
21
-
For example, `supported`, `beta`, `unsupported` or `hidden`.
34
+
For example, ``supported``, ``beta``, ``unsupported`` or ``hidden``.
35
+
36
+
See class :class:`~docbuild.models.lifecycle.LifecycleFlag`.
37
+
38
+
Product
39
+
A abbreviated name for a SUSE product. For example, ``sles``.
22
40
23
-
Projects
24
-
A name for a SUSE project. For example, `sles`.
25
-
See :class:`~docbuild.models.product.Product`.
41
+
See class :class:`~docbuild.models.product.Product`.
26
42
27
43
Virtual Python Environment (VENV)
28
44
A self-contained and isolate directory that contains a Python
0 commit comments