question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation of directives, roles, etc

See original GitHub issue

It would be good to include in the documentation some guidance for users on how to get the most out of MyST; particularly those that haven’t used rST before.

Most of the directives are documented at:

So at a minimum these links should be provided. It would be ideal though to (a) show what these directives look like in MyST format, and (b) also provide some more ‘user-friendly’ tutorials on some specific aspects (the include directive being one of these, as discussed in #80).

A good example of some user-friendly documentation is what the Overleaf knowledge base has for LaTex.

For a full list of available (core) roles and directives (with tested input/output), see tests/test_renderers/sphinx_roles.json and tests/test_renderers/sphinx_directives.json.

@jstac & @mmcky this could be something that your guys helped with 😄

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisjsewellcommented, Jun 3, 2020

I wonder if there’s some way we could auto-generate a list of directives that are available to a default jupyter-book build…

This will now be achieved in https://github.com/executablebooks/sphinx-ext-autodoc

1reaction
filippo82commented, May 23, 2020

Following the new issue! Cheers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Directives - Sphinx documentation
This directive must contain a reST definition-list-like markup with terms and definitions. The definitions will then be referenceable with the term role.
Read more >
Directives Help — DOE Directives, Guidance, and Delegations
Navigating the DOE Directives, Delegations, and Requirements Portal. A guide for using the portal is available here.
Read more >
reStructuredText Directives - Docutils
Setting the Default Interpreted Text Role. Metadata ... This document describes the directives implemented in the reference reStructuredText parser.
Read more >
Roles and Directives - MyST-Parser - Read the Docs
Roles and directives provide a way to extend the syntax of MyST in an unbound manner, by interpreting a chuck of text as...
Read more >
Themes » Writing reST content - m.css
Contents · Basic syntax. Metadata fields; Directives; Interpreted text roles · Basic block elements · Basic inline elements · Essential directives · Essential ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found