GithubHelp home page GithubHelp logo

python-jsonschema / sphinx-json-schema-spec Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 116 KB

Sphinx interlinking support for the JSON Schema specifications

Home Page: https://sphinx-json-schema-spec.readthedocs.io/

License: MIT License

Python 100.00%
jsonschema json python sphinx-doc sphinx-extension

sphinx-json-schema-spec's Introduction

sphinx-json-schema-spec

PyPI version Supported Python versions Build status

A Sphinx extension providing a role which allows linking to sections within the JSON Schema specifications.

It is intended for use by implementations of JSON Schema (in Python or otherwise) who may wish to interlink to the specification in their own documentation.

sphinx-json-schema-spec's People

Contributors

dependabot[bot] avatar julian avatar pawl avatar pre-commit-ci[bot] avatar tmontes avatar

Stargazers

 avatar

Watchers

 avatar  avatar

sphinx-json-schema-spec's Issues

documentation build fails

Looks like something is wring and documentation build fails

+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v7.1.2

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/sphinx/cmd/build.py", line 285, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 229, in __init__
    self.setup_extension(extension)
  File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 402, in setup_extension
    self.registry.load_extension(self, extname)
  File "/usr/lib/python3.8/site-packages/sphinx/registry.py", line 454, in load_extension
    metadata = setup(app)
  File "/home/builder/rpmbuild/BUILD/sphinx-json-schema-spec-2023.08.1/sphinx_json_schema_spec/__init__.py", line 43, in setup
    documents = {
  File "/home/builder/rpmbuild/BUILD/sphinx-json-schema-spec-2023.08.1/sphinx_json_schema_spec/__init__.py", line 44, in <dictcomp>
    url: fetch_or_load(cache_path=CACHE / f"{name}.html", url=url)
  File "/home/builder/rpmbuild/BUILD/sphinx-json-schema-spec-2023.08.1/sphinx_json_schema_spec/__init__.py", line 81, in fetch_or_load
    response = urllib.request.urlopen(request, context=context)
  File "/usr/lib64/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib64/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib64/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 308: Permanent Redirect

Exception occurred:
  File "/usr/lib64/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 308: Permanent Redirect
The full traceback has been saved in /tmp/sphinx-err-0qw7hy31.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.