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

[BUG] docs sphinx_markdown_tables __init__() takes 2 but 3 given #327

Open
1 task done
emelcher opened this issue Nov 10, 2023 · 4 comments
Open
1 task done

[BUG] docs sphinx_markdown_tables __init__() takes 2 but 3 given #327

emelcher opened this issue Nov 10, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation Resolved

Comments

@emelcher
Copy link

Is there an existing core-v-mcu bug for this?

  • I have searched the existing bug issues

Bug Description

make docs
...
reading sources... [ 3%] doc-src/apb_peripheral_interconnect
Extension error (sphinx_markdown_tables):
Handler <function process_tables at 0x7ffaf3765730> for event 'source-read' threw an exception (exception: init() takes 2 positional arguments but 3 were given)

@MikeOpenHWGroup
Copy link
Member

Hi @emelcher, thanks for your Issue. I will investigate. In the meantime, the docs are on-line here.

@MikeOpenHWGroup MikeOpenHWGroup self-assigned this Nov 10, 2023
@MikeOpenHWGroup MikeOpenHWGroup added documentation Improvements or additions to documentation Resolved labels Nov 10, 2023
@MikeOpenHWGroup
Copy link
Member

Hi @emelcher, I am unable to reproduce your problem. For me the make docs command runs as expected. Have you installed all the required python tools? Depending on your installation set-up, you may require additional plugs-ins to be installed:

$ pip install pdflatex
$ apt-get install texlive-latex-base
$ apt-get install texlive-latex-extra

Please give this a try and let me know if it resolves your issue, and if it does, you can close this issue. Otherwise, the issue will be closed within a from today. Thanks!

@emelcher
Copy link
Author

emelcher commented Nov 13, 2023 via email

@MikeOpenHWGroup
Copy link
Member

You'll need to resolve this on your own @emelcher - we do not have the resources to support all user platforms.

If you are able to resolve the issue for CentOS, we would be happen to receive a pull-request from you to update our scripts.

In the meantime, you can forgo the generation of a PDF on your local system. It seems that the HTML is being generated properly. This is the preferred option in any case - Sphinx goes a much better job of HTML rendering than it does for the PDFs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Resolved
Projects
None yet
Development

No branches or pull requests

2 participants