ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Download
ScyllaDB Docs ScyllaDB Sphinx Theme Upgrade guides Upgrading from 1.7 to 1.8

Upgrading from 1.7 to 1.8¶

This guide explains how to upgrade the version of the ScyllaDB Sphinx Theme.

How to check your current theme version¶

The theme version is displayed in the footer of the project’s documentation site.

../_images/version.png

If your project theme’s version is >=1.7, follow this guide to get the latest version.

Upgrade to version 1.8¶

Here are the main breaking changes between the 1.6 and 1.7 versions.

Commit the poetry.lock file to the repository¶

We recommend that teams commit the poetry.lock file to the repository. Doing so ensures that dependencies are locked, leading to consistent documentation builds across different environments. For more information, see Committing your poetry.lock file to version control.

Steps to apply this change:

  1. Remove the poetry.lock file from the .gitignore file. This file could be either in the root of the repository or in the docs directory.

  2. Update the docs/Makefile and remove the rm -f poetry.lock command from the clean command:

    # Clean commands
    .PHONY: clean
    clean:
        rm -rf $(BUILDDIR)/*
        # rm -f poetry.lock
    
  3. In the same file, remove the line $(POETRY) update from the setup command:

    .PHONY: setup
    setup:
        $(POETRY) install
        # $(POETRY) update
    
  4. In the same file, add a new command to update Python dependencies:

    .PHONY: update
    update:
        $(POETRY) update
    
  5. Add the following dependabot.yml configuration file in the .github directory:

    version: 2
    updates:
      - package-ecosystem: "pip"
        directory: "/docs"
        schedule:
          interval: "daily"
        allow:
          - dependency-name: "sphinx-scylladb-theme"
          - dependency-name: "sphinx-multiversion-scylla"
    

    This configuration helps keep your project up-to-date with the latest theme versions automatically.

  6. In the docs/pyproject.toml file, set Poetry to use the non-package mode:

    [tool.poetry]
    name = "scylla"
    description = "Scylla Documentation"
    version = "4.3.0"
    authors = ["ScyllaDB Contributors"]
    package-mode = false
    
  7. Ensure all dependencies in the docs/pyproject.toml file are configured to install the latest minor versions by using the ^ symbol followed by the major and minor version number:

    Example:

    (...)
    
    [tool.poetry.dependencies]
    python = "^3.10"
    pygments = "^2.18.0"
    sphinx-scylladb-theme = "^1.8.1"
    myst-parser = "^3.0.1"
    sphinx-autobuild = "^2024.4.19"
    Sphinx = "^7.3.7"
    sphinx-multiversion-scylla = "^0.3.1"
    sphinx-sitemap = "^2.6.0"
    redirects_cli ="^0.1.3"
    
    (...)
    
  8. In the same docs/pyproject.toml file, update the poetry dependency to version 1.8.0:

    (...)
    [build-system]
    requires = ["poetry>=1.8.0"]
    build-backend = "poetry.masonry.api"
    
  9. Run the following command in the docs``folder to update the ``poetry.lock file:

    poetry lock --no-update
    
  10. Preview the docs. Ensure sure they render without errors:

    make preview
    
  11. Commit the changes to the repository, including the poetry.lock file.

Update mascots and icons¶

If your homepage was using mascots or icons, update them to the new ones.

For more information, see:

  • Mascots

  • Icons

Was this page helpful?

PREVIOUS
Upgrade guides
NEXT
Upgrading from 1.6 to 1.7
  • Create an issue
  • Edit this page

On this page

  • Upgrading from 1.7 to 1.8
    • How to check your current theme version
    • Upgrade to version 1.8
      • Commit the poetry.lock file to the repository
      • Update mascots and icons
ScyllaDB Sphinx Theme
  • 1.8
    • 1.8
    • 1.7
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • 1.2
    • 1.1
  • Getting started
    • Toolchain
    • Installation
    • Quickstart
  • Configuration
    • Template options
    • Page options
    • Multiversion options
    • Markdown support
    • Redirects support
    • AI chatbot support (beta)
    • Search support
    • Dependabot support
  • Commands
  • Deployment
    • Production deployment
    • Pull requests previews
    • Centralized publication
  • Examples
    • Admonitions
    • Alert
    • Collapse
    • Code blocks
    • Diagrams
    • Glossary
    • Headings
    • Hero box
    • Icons
    • Images
    • Includes
    • Labels
    • Links
    • Lists
    • Mascots
    • Panel box
    • Substitutions
    • Tables
    • Tabs
    • Text
    • TOC
    • Tooltips
    • Topic box
    • Versions
  • Upgrade guides
    • Upgrading from 1.7 to 1.8
    • Upgrading from 1.6 to 1.7
    • Upgrading from 1.5 to 1.6
    • Upgrading from 1.4 to 1.5
    • Upgrading from 1.3 to 1.4
    • Upgrading from 1.2 to 1.3
    • Upgrading from 1.1 to 1.2
    • Upgrading from 1.0 to 1.1
    • Upgrading from 0.x to 1.0
    • Changelog
  • Contribute
    • Contribute to the documentation
    • Contribute to the theme
    • Source Code
Docs Tutorials University Contact Us About Us
© 2025 ScyllaDB | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 09 May 2025.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.6
Ask AI