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
New docs: initial system setup #6165
Comments
let's collect all the items on this issue that we need to fix before we can replace the existing rst docs in rasa open source with their markdown version. I'll copy the list from the exploration PR |
I think |
@m-vdb anything I should be working on here atm? Looks like you are going through the elements right now, can you add any todos we need to handle before replacing the rest docs on master with md as well as things that we can do afterwards? |
I don't think we need |
|
|
@tmbo I still think we should tackle I updated the desc above. Some things to validate:
I'm starting with the small remaining elements now |
🤔 OK I think I understand why you wanted to do that in a separate ticket. Basically, |
currently trying to use |
Instead of |
whats the issue with the substituation, does it just not work or is there an error? |
I think I found a solution. It simply doesn't work out of the box. I've tried |
⬆️ Relates to https://github.com/RasaHQ/growth/issues/1436
We want to do the initial setup for the docs system:
The new docs will sit inside
docs/
of the rasa repository. How the docs are build for hosting is part of #6166Known issues
Image width is not respected. E.g. See images here are much wider than in rst docs
The chat bubbles here do not translate well here (I had expected them to appear something like the ones here. However these pages will likely be removed in 2.0 docs.) tracked in separate issue
Glossary styling is lost: http://localhost:3000/docs/glossary
the sidebar disappears on orphan pages (e.g. the channel pages) (it's a known issue and the workaround is to add the pages to the sidebars :/) - THIS SHOULD BE FINE; WE JUST NEED TO ADD THE PAGES SOMEWHERE. Check in with CSE about the new docs structure, maybe we can just hang them somewhere in the sidebar tree for now. we should not have any pages without sidebar items anyways.
The autogeneration happens after variables are replaced. We need to find a way to support global variables. global variables can be used in JSX, but we need to find & replace original values with variable syntax manually Feature: referencing variables from markdown pages (placeholder substitution) facebook/docusaurus#395 (comment)
List of Sphinx directives we use
(we might want to sanity check these in a separate ticket)
.. admonition::
.. button::
.. code-block::
.. code::
.. contents::
(obsolete, toc is in sidebar now).. copyable::
.. edit-link::
.. glossary::
.. group-tab::
.. image::
.. note::
.. parsed-literal::
(only needed to parse variables, fixed in 0137605).. raw::
.. sourcecode::
.. tab::
.. tabs::
.. toctree::
(obsolete, toc is in sidebar now).. warning::
.. container::
(can be done withremark-collapse
).. option::
(simple text formatting to figure out).. pull-quote::
(one occurrence only, we can do it manually, and could use the standard blockquote>
).. testcode::
+.. testsetup::
(not sure we want to support these?)Things we need to fix AFTER the initial converted docs are merged:
.. program-output::
(separate ticket New docs: add support for program-output directive #6202).. literalinclude::
(separate ticket New docs: include source files #6199).. autoclass::
+.. automethod::
(separate ticket New docs: Autoclass and automethod generation from code #6194).. include::
(only used for changelog, tackled in New docs: changelog generation #6170).. juniper::
+.. runnable::
(obsolete, handled by new prototyper New docs: interactive code cells #6169).. chat-bubble::
+.. conversations::
(tackled in https://github.com/RasaHQ/growth/issues/1501)Let's create separate issues for the remaining open ones after the PR has been merged.
The text was updated successfully, but these errors were encountered: