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

Using rst-budoux lib and revealjs-break directive, second section' title is broken #167

Open
attakei opened this issue May 3, 2024 · 2 comments
Labels
high:bug Something isn't working

Comments

@attakei
Copy link
Owner

attakei commented May 3, 2024

Reproduction

  • Use demo
  • Install and register rst-budoux
  • Unregister sphinnxcontrib-budoux
  • Run make -C demo demo
  • Run localserver
  • Access http://localhost:8000/ja/#/6/3

Expected

Keep 「コードのハイライト」 on title.

Screenshot 2024-05-03 at 18-28-59 sphinx-revealjsの紹介

Actually

Title is 「コードの」 only (「ハイライト」 is dropped)

Screenshot 2024-05-03 at 18-28-28 sphinx-revealjsの紹介

@attakei attakei added the high:bug Something isn't working label May 3, 2024
@attakei
Copy link
Owner Author

attakei commented May 5, 2024

Reason

In v3.0.1, writer append refer title section from parent, but first node only.

ref:

self.body.append(title.children[0])

Therefore, this issue is reproduced by only sphinx-revealjs

**Strong** title
=============

.. revealjs-break::

@attakei
Copy link
Owner Author

attakei commented May 5, 2024

Currently, I am fixing issue by feature/transform-doctree branch.

This is not only simple bug fix, includes restructure behavior in generating html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant