Open madduck opened 1 month ago
I had the same issue, the readme doesn't have great instructions for getting started as a brand new user and there's not a lot of help online. here are my steps: After installing sphinx i cd to the directory that contains my local git repo for odoorpc i use sphinx-quickstart then follow the readme instructions still no luck so i know im missing something
I did have some success using make html eg. odoorpc>make html output: Running Sphinx v8.0.2 loading translations [en]... done making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 28 source files that are out of date updating environment: [new config] 28 added, 0 changed, 0 removed reading sources... [100%] index tons of errors: ERROR: Unknown directive type "autoclass". Unknown directive type "automodule". Unknown directive type "doctest". .. doctest::
Product = odoo.env['product.product'] product_en = Product.browse(1) product_en.env.lang 'en_US' product_en.name = "My product" # Update the english translation looking for now-outdated files... none found pickling environment... done checking consistency... WARNING: document isn't included in any toctree done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [100%] index generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 16 warnings.
The HTML pages are in _build\html.
The documentation cannot be built according to the README: