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

Possible to set source directory default path? #8

Closed
MatthewCroughan opened this issue Oct 23, 2020 · 1 comment
Closed

Possible to set source directory default path? #8

MatthewCroughan opened this issue Oct 23, 2020 · 1 comment

Comments

@MatthewCroughan
Copy link

MatthewCroughan commented Oct 23, 2020

The docs I am working on have a source/_static/asciinema folder in which all casts will be placed. Instead of having to refer to this full path like this:

.. asciinema:: ../_static/asciinema/set-device-tags.cast

It would be great if we could just refer to it like this:

.. asciinema:: set-device-tags.cast

Perhaps it could be a config option?

sphinxcontrib_asciinema_defaults = {
       'path': source/_static/asciinema
}
@divi255
Copy link
Owner

divi255 commented Oct 24, 2020

added in a5451cc

@divi255 divi255 closed this as completed Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants