mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
Switched tests to be managed by package manager
This commit is contained in:
16
scripts/test_docs.py
Normal file
16
scripts/test_docs.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2025 I-Form Advanced Manufacturing Research Centre.
|
||||
#
|
||||
# invenio-config-iform is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the MIT License; see LICENSE file for more
|
||||
# details.
|
||||
|
||||
"""A script for testing sphinx documentation building."""
|
||||
|
||||
from sphinx.cmd.build import main as build_docs
|
||||
|
||||
|
||||
def main() -> None:
|
||||
"""Attempt to build documentation."""
|
||||
build_docs(["-nN", "docs", "docs/_build/html"])
|
||||
Reference in New Issue
Block a user