Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
69157d8
Build(deps-dev): bump eslint-webpack-plugin from 4.2.0 to 5.0.2
dependabot[bot] Jun 24, 2025
18e5e74
Build(deps-dev): bump copy-webpack-plugin from 13.0.0 to 13.0.1
dependabot[bot] Sep 1, 2025
f9f6e74
Build(deps-dev): bump postcss-loader from 8.1.1 to 8.2.0
dependabot[bot] Sep 2, 2025
985fd6a
Build(deps): bump actions/setup-python from 5 to 6
dependabot[bot] Sep 5, 2025
1123ca3
Build(deps-dev): bump pytest from 8.4.1 to 8.4.2
dependabot[bot] Sep 5, 2025
7644330
fix: announcement banner on mobile
dgarcia360 Sep 21, 2025
1581a78
Build(deps-dev): bump sass from 1.90.0 to 1.93.2
dependabot[bot] Sep 24, 2025
21e15b1
Build(deps): bump peter-evans/create-issue-from-file from 4 to 6
dependabot[bot] Oct 2, 2025
d84736f
docs: add video example
dgarcia360 Oct 3, 2025
c246966
Build(deps): bump github/codeql-action from 3 to 4
dependabot[bot] Oct 8, 2025
5465d43
Build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0
dependabot[bot] Oct 27, 2025
6d14c1b
Build(deps-dev): bump starlette from 0.47.2 to 0.49.1
dependabot[bot] Oct 28, 2025
230f0e9
Build(deps): bump lycheeverse/lychee-action from 2.6.1 to 2.7.0
dependabot[bot] Oct 30, 2025
dc623ad
Merge pull request #1507 from dgarcia360/video-demo
dgarcia360 Nov 3, 2025
178166d
fix: menu does not open on mobile
dgarcia360 Nov 4, 2025
f4de17c
updated the driver links in the header
annastuchlik Nov 10, 2025
32d8846
Merge pull request #1514 from annastuchlik/anna-update-header-driver-…
dgarcia360 Nov 11, 2025
173f4d8
Build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1
dependabot[bot] Nov 15, 2025
d2c9321
Merge pull request #1510 from scylladb/dependabot/github_actions/acti…
dgarcia360 Nov 17, 2025
519e65b
Merge pull request #1511 from scylladb/dependabot/pip/starlette-0.49.1
dgarcia360 Nov 17, 2025
f79aca1
Merge pull request #1512 from scylladb/dependabot/github_actions/lych…
dgarcia360 Nov 17, 2025
b58b687
Merge pull request #1495 from scylladb/dependabot/github_actions/acti…
dgarcia360 Nov 17, 2025
f43ed98
Merge pull request #1488 from scylladb/dependabot/npm_and_yarn/copy-w…
dgarcia360 Nov 17, 2025
6b64c89
Merge pull request #1493 from scylladb/dependabot/npm_and_yarn/postcs…
dgarcia360 Nov 17, 2025
5c925c3
Merge pull request #1506 from scylladb/dependabot/github_actions/pete…
dgarcia360 Nov 17, 2025
d184d91
Merge pull request #1502 from scylladb/dependabot/npm_and_yarn/sass-1…
dgarcia360 Nov 17, 2025
1901af4
Merge pull request #1509 from scylladb/dependabot/github_actions/gith…
dgarcia360 Nov 17, 2025
253ad80
Merge pull request #1515 from scylladb/dependabot/npm_and_yarn/js-yam…
dgarcia360 Nov 17, 2025
f20054d
Merge pull request #1496 from scylladb/dependabot/pip/pytest-8.4.2
dgarcia360 Nov 17, 2025
00cc5b2
Build(deps-dev): bump @babel/core from 7.28.3 to 7.28.5
dependabot[bot] Nov 18, 2025
c952314
Build(deps-dev): bump cross-env from 10.0.0 to 10.1.0
dependabot[bot] Nov 18, 2025
9b2bceb
Build(deps-dev): bump sass from 1.93.2 to 1.94.0
dependabot[bot] Nov 18, 2025
c90c017
Build(deps-dev): bump pytest from 8.4.2 to 9.0.1
dependabot[bot] Nov 18, 2025
95798d0
Merge pull request #1498 from scylladb/docs-fix-mobile-announcement-bar
dgarcia360 Nov 18, 2025
c29c745
Merge pull request #1520 from scylladb/dependabot/pip/pytest-9.0.1
dgarcia360 Nov 18, 2025
135a4e1
Merge pull request #1519 from scylladb/dependabot/npm_and_yarn/sass-1…
dgarcia360 Nov 18, 2025
dcdc86a
Merge pull request #1518 from scylladb/dependabot/npm_and_yarn/cross-…
dgarcia360 Nov 18, 2025
ef65b90
Merge pull request #1517 from scylladb/dependabot/npm_and_yarn/babel/…
dgarcia360 Nov 18, 2025
8f6e1ab
Merge pull request #1434 from scylladb/dependabot/npm_and_yarn/eslint…
dgarcia360 Nov 18, 2025
f26d5ac
docs: style API reference docs (#1516)
dgarcia360 Nov 20, 2025
d862226
Build(deps): bump actions/checkout from 5 to 6 (#1527)
dependabot[bot] Nov 21, 2025
bfaea65
Build(deps-dev): bump webpack from 5.101.3 to 5.103.0 (#1525)
dependabot[bot] Nov 21, 2025
4417d2b
Build(deps-dev): bump sass from 1.94.0 to 1.94.1 (#1523)
dependabot[bot] Nov 21, 2025
319461a
Build(deps-dev): bump eslint from 9.34.0 to 9.39.1 (#1522)
dependabot[bot] Nov 21, 2025
7d1a707
Build(deps-dev): bump @babel/preset-env from 7.28.3 to 7.28.5 (#1521)
dependabot[bot] Nov 21, 2025
d45705b
Build(deps-dev): bump myst-parser from 3.0.1 to 4.0.1 (#1356)
dependabot[bot] Nov 21, 2025
c3a5d37
Build(deps-dev): bump postcss-preset-env from 10.2.4 to 10.4.0 (#1500)
dependabot[bot] Nov 21, 2025
68b5d1b
docs: release 1.8.9 (#1528)
dgarcia360 Nov 21, 2025
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
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
6 changes: 3 additions & 3 deletions .github/workflows/docs-links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2.6.1
uses: lycheeverse/lychee-action@v2.7.0
with:
args: --verbose --no-progress './**/*.md' './**/*.rst'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Create Issue From File
if: ${{ steps.lychee.outputs.exit_code != 0 }}
uses: peter-evans/create-issue-from-file@v4
uses: peter-evans/create-issue-from-file@v6
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ github.event.repository.default_branch }}
persist-credentials: false
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'

Expand All @@ -44,7 +44,7 @@ jobs:
.

- name: Upload artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v5.0.0
with:
name: github-pages
path: ${{ runner.temp }}/artifact.tar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multiversion-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
working-directory: ./extensions/sphinx-multiversion
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: '3.10'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/theme-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"

Expand Down
19 changes: 19 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from sphinx_scylladb_theme.utils import multiversion_regex_builder

sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("."))

# -- Global variables

Expand Down Expand Up @@ -46,6 +47,7 @@
"sphinx_scylladb_theme",
"sphinx_multiversion", # optional
"myst_parser", # optional
"breathe", # optional
]

# The suffix(es) of source filenames.
Expand All @@ -71,6 +73,23 @@
.. |rst| replace:: restructuredText
"""

# -- Options for autodoc extension ----------------------------------

# Configure autodoc to show better signatures
autodoc_typehints = "description"
autodoc_member_order = "bysource"
add_module_names = False # Don't prepend module names to class/function names

# -- Options for breathe extension ----------------------------------

breathe_projects = {
"SampleModule": os.path.join(
os.path.dirname(__file__), "examples/doxygen_output/xml"
)
}
breathe_default_project = "SampleModule"
breathe_default_members = ("members", "undoc-members")

# -- Options for myst parser ----------------------------------------
myst_enable_extensions = ["colon_fence"]

Expand Down
5 changes: 2 additions & 3 deletions docs/source/configuration/ai-chatbot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ScyllaDB Docs integrates with `Biel.ai <https://biel.ai/>`_ to offer a conversat
The chatbot can answer documentation-related questions and provide relevant links to help users find the information they need quickly.

.. note::
This feature is in beta and disabled by default. It will be gradually enabled for all documentation sites in a future release.
This feature is in beta and disabled by default. It will be gradually enabled for all documentation sites in a future release.
If you want to enable it now, please contact us in Slack (``#scylla-docs`` channel).

Installation
Expand All @@ -24,7 +24,7 @@ To enable the AI chatbot, update your ``conf.py`` file by setting ``hide_ai_chat
Usage
-----

Once enabled, the Ask AI button will appear in the documentation interface.
Once enabled, the Ask AI button will appear in the documentation interface.
Users can click the button to start a conversation, ask questions, and receive responses with relevant documentation links.

.. figure:: images/ai-chatbot.png
Expand Down Expand Up @@ -61,4 +61,3 @@ If the chatbot does not appear:
* Check for errors in the browser console that may indicate issues with the integration.

For more details, refer to the `Biel.ai documentation <https://docs.biel.ai/>`_.

11 changes: 11 additions & 0 deletions docs/source/configuration/page.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ If set, hides the secondary sidebar from the page.

:hide-secondary-sidebar:

TOC depth
---------

Sets the depth of the table of contents in the secondary sidebar ("On This Page").

Valid values are 2, 3, or 4. Default is 2.

.. code-block:: none

:toc-depth: 3

Hide version warning
--------------------

Expand Down
10 changes: 7 additions & 3 deletions docs/source/configuration/template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ Configuration options for the left sidebar.
- number
- -1
- The maximum depth of the sidebar nested entries. Set to `-1` to allow unlimited depth.
* - ``secondary_sidebar_toc_depth``
- number
- 2
- The depth of the table of contents in the secondary sidebar ("On This Page"). Valid values: 2-4. Can be overridden per-page with ``:toc-depth:`` meta option.
* - ``theme``
- string
- product
Expand All @@ -238,6 +242,7 @@ Example:
html_theme_options = {
'collapse_navigation': 'false',
'navigation_depth': '-1',
'secondary_sidebar_toc_depth': 3,
'theme': 'product',
}

Expand Down Expand Up @@ -306,7 +311,7 @@ Configuration options for enabling zendesk.
- Description
* - ``zendesk_tag``
- string
-
-
- Zendesk verification tag. Example: ``gq6ltsh3nfex3cnwfy4aj9``.

.. code:: python
Expand All @@ -329,6 +334,5 @@ Multiversion options
- Description
* - ``redirect``
- string
-
-
- Overrides the default redirection of the main domain when using multiversion. By default, it redirects to ``<DOMAIN>/stable/``. Overriding setting this can be useful if the main domain page publishes multiple documentation sets. Example: ``/manual/stable/``.

13 changes: 6 additions & 7 deletions docs/source/deployment/centralized-publication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Centralized publication
=======================

Certain core ScyllaDB projects are configured or published from the repository `scylladb/scylladb-docs-homepage <https://github.com/scylladb/scylladb-docs-homepage>`_
instead of the project repository itself.
Certain core ScyllaDB projects are configured or published from the repository `scylladb/scylladb-docs-homepage <https://github.com/scylladb/scylladb-docs-homepage>`_
instead of the project repository itself.

This allows us to:

Expand Down Expand Up @@ -44,8 +44,8 @@ To add a new release to the centralized publication, submit a pull request to th
{
"tags": [],
"branches": [
"master",
"branch-2025.1",
"master",
"branch-2025.1",
"branch-2025.2"
],
"latest": "branch-2025.1",
Expand All @@ -63,8 +63,8 @@ To add a new release to the centralized publication, submit a pull request to th
{
"tags": [],
"branches": [
"master",
"branch-2025.1",
"master",
"branch-2025.1",
"branch-2025.2"
],
"latest": "branch-2025.2",
Expand Down Expand Up @@ -98,4 +98,3 @@ You can trigger a manual publication by following these steps:
6. Click the green **Run workflow** button.

For more details, see `Manually running a workflow <https://docs.github.com/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow>`_.

27 changes: 27 additions & 0 deletions docs/source/examples/Doxyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Doxyfile for generating XML documentation

# Project settings
PROJECT_NAME = "Sample Module"
OUTPUT_DIRECTORY = doxygen_output
CREATE_SUBDIRS = NO

# Input settings
INPUT = _sample_module.h
FILE_PATTERNS = *.h *.hpp *.cpp
RECURSIVE = NO

# Output settings
GENERATE_HTML = NO
GENERATE_LATEX = NO
GENERATE_XML = YES
XML_OUTPUT = xml
XML_PROGRAMLISTING = YES

# Extraction settings
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES

# Other settings
QUIET = YES
WARNINGS = NO
1 change: 1 addition & 0 deletions docs/source/examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Examples package for ScyllaDB Sphinx Theme documentation."""
81 changes: 81 additions & 0 deletions docs/source/examples/_sample_module.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/**
* @file _sample_module.h
* @brief Sample C++ module for demonstrating Breathe/Doxygen documentation
*
* This header provides a simple database connection class to demonstrate
* how Breathe integrates Doxygen documentation into Sphinx.
*/

#ifndef SAMPLE_MODULE_H
#define SAMPLE_MODULE_H

#include <string>

/**
* @brief Manages database connections
*
* This class provides methods for connecting to, querying, and disconnecting
* from a database.
*/
class DatabaseConnection {
public:
/**
* @brief Construct a new Database Connection object
*
* @param host The database host address
* @param port The database port number (default: 9042)
* @param username Optional username for authentication
*/
DatabaseConnection(const std::string& host, int port = 9042,
const std::string& username = "");

/**
* @brief Establish a connection to the database
*
* @return true if connection was successful
* @return false if connection failed
* @throws ConnectionError if connection fails after retries
*/
bool connect();

/**
* @brief Execute a query on the database
*
* @param query The SQL query string to execute
* @return Query results as a string
* @throws RuntimeError if not connected to database
*/
std::string execute(const std::string& query);

/**
* @brief Close the database connection
*/
void disconnect();

private:
std::string host_; ///< Database host address
int port_; ///< Database port number
std::string username_; ///< Optional username
bool connected_; ///< Connection status
};

/**
* @brief Format a SQL query string
*
* @param query The SQL query template
* @param indent Number of spaces for indentation (default: 4)
* @return Formatted SQL query string
*/
std::string format_query(const std::string& query, int indent = 4);

/**
* @brief Validate database connection parameters
*
* @param host The database host
* @param port The database port
* @return true if parameters are valid
* @return false otherwise
*/
bool validate_connection_params(const std::string& host, int port);

#endif // SAMPLE_MODULE_H
Loading
Loading