Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

147
Views
Sphinx-js no puede encontrar la documentación de la clase

Estoy tratando de configurar sphinx_js pero sigo recibiendo este error:

 ~/test_sphinx_js$ sphinx-build -b html docs/source/ docs/build/html/ Running Sphinx v4.4.0 building [mo]: targets for 0 po files that are out of date building [html]: targets for 1 source files that are out of date updating environment: [new config] 1 added, 0 changed, 0 removed reading sources... [100%] index Sphinx error: No documentation was found for object "SomeClass" or any path ending with that.

esta es la estructura de mi proyecto de prueba:

 . ├── docs │ ├── build │ │ └── html │ ├── make.bat │ ├── Makefile │ └── source │ ├── conf.py │ ├── index.rst │ ├── _static │ └── _templates └── src └── SomeClass.js

y estas son las configuraciones y el código relevantes:

conf.py

 [...] extensions = ['sphinx_js'] js_source_path = '../../src' primary_domain = 'js' [...]

index.rst:

 Welcome to SomeDocs's documentation! ==================================== .. toctree:: :maxdepth: 2 :caption: Contents: Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search` .. js:autoclass:: SomeClass

AlgunaClase.js:

 /** Class representing something. */ export default class SomeClass { /** * Create class. * @param {string} name - The name of the object. * @param {string} type - The type of object. */ constructor(name, type) { this.name = name; this.type = type; } }

Debo estar perdiendo algo obvio, pero no puedo entenderlo.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!