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

Failing build in the readthedocs #472

Open
twalen opened this issue Feb 26, 2025 · 0 comments
Open

Failing build in the readthedocs #472

twalen opened this issue Feb 26, 2025 · 0 comments
Assignees

Comments

@twalen
Copy link
Contributor

twalen commented Feb 26, 2025

Integration with readthedocs fails during autoapi step

AutoAPI] Adding AutoAPI TOCTree [autoapi/index] to index.rst
�[2Kreading sources... [ 99%] sections/controllers
�[2Kreading sources... [ 99%] sections/dev
�[2Kreading sources... [ 99%] sections/evaluation
�[2Kreading sources... [ 99%] sections/filestorage
�[2Kreading sources... [ 99%] sections/misc
�[2Kreading sources... [100%] sections/mixins
�[2Kreading sources... [100%] sections/notifications
�[2Kreading sources... [100%] sections/problem_uploading
�[2Kreading sources... [100%] sections/scoring
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/fields/index.rst:34: ERROR: Unknown interpreted text role "cls".
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/fields/index.rst:43: WARNING: Inline literal start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/fields/index.rst:144: ERROR: Unknown interpreted text role "cls".
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/notification/index.rst:99: ERROR: Unexpected indentation.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/preferences/index.rst:38: ERROR: Unexpected indentation.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/preferences/index.rst:42: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/preferences/index.rst:58: WARNING: Inline emphasis start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/preferences/index.rst:58: WARNING: Inline strong start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:104: ERROR: Unexpected indentation.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:101: WARNING: Inline literal start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:101: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:109: ERROR: Unexpected indentation.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:106: WARNING: Inline literal start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:106: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:111: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:111: WARNING: Inline literal start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:111: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:154: ERROR: Unexpected indentation.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:156: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:157: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_filters/index.rst:172: WARNING: Definition list ends without a blank line; unexpected unindent.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_tags/index.rst:40: ERROR: Unexpected indentation.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/templatetags/simple_tags/index.rst:46: WARNING: Literal block ends without a blank line; unexpected unindent.
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/utils/index.rst:114: ERROR: Unknown directive type "python".

.. python::

    class MyClass(ClassInitBase):

        @classmethod
        def __classinit__(cls):
            # Need globals().get as MyClass may be still undefined.
            super(globals().get('MyClass', cls),
                    cls).__classinit__()
            ...

    class Derived(MyClass):

        @classmethod
        def __classinit__(cls):
            super(globals().get('Derived', cls),
                    cls).__classinit__()
            ...
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/utils/index.rst:166: ERROR: Unknown directive type "python".

.. python::

    class MyClass(ClassInitBase):

        @classmethod
        def __classinit__(cls):
            # Need globals().get as MyClass may be still undefined.
            super(globals().get('MyClass', cls),
                    cls).__classinit__()
            ...

    class Derived(MyClass):

        @classmethod
        def __classinit__(cls):
            super(globals().get('Derived', cls),
                    cls).__classinit__()
            ...
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/utils/index.rst:256: ERROR: Unknown directive type "python".

.. python::

    class MyClass(ClassInitBase):

        @classmethod
        def __classinit__(cls):
            # Need globals().get as MyClass may be still undefined.
            super(globals().get('MyClass', cls),
                    cls).__classinit__()
            ...

    class Derived(MyClass):

        @classmethod
        def __classinit__(cls):
            super(globals().get('Derived', cls),
                    cls).__classinit__()
            ...
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/base/utils/index.rst:321: ERROR: Unknown interpreted text role "fun".
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/contests/controllers/index.rst:87: ERROR: Unknown interpreted text role "function".
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/contests/controllers/index.rst:100: ERROR: Unknown interpreted text role "function".
/home/docs/checkouts/readthedocs.org/user_builds/oioioi/checkouts/latest/rst/source/autoapi/oioioi/contests/controllers/index.rst:253: ERROR: Unknown interpreted text role "function".
/home/docs

either remove AutoAPI or fix it

@stopnoanime stopnoanime self-assigned this Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants