-
Notifications
You must be signed in to change notification settings - Fork 10
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
Enable .. only_in:: sc
to work in all places
#159
Comments
Hmm. They should work anywhere a rst directive does (i.e. in any of the bits where we parse for rst markup). It could be that the special acrobatics needed cope with |
I see. The above didn't work for me but it doesn't seem that necessary for v1 this week so hence just this ticket. At a time in the future I think it will be worth poking at more. |
and now, i have the same issue with (see https://discourse.flucoma.org/t/pure-data-html-documentation-fluid-dataset-refer-message-not-documented/2227/2 for the problem I'm trying to solve) |
Shouldn't |
Don't want to add |
at the moment I cannot get only_in:: to work for a full block, like:
I've added it to the source on main without the only_in for now |
Yes, we can't break up a reStructuredText field list (which is basically the format of the list of We could look at adding |
there is a single message like this for now (that was found after years of people using it :) ) so I tried to add that for all. the fun conclusion is that it doesn't add the method at all (I tried locally and pushed on main and re-run all nightlies) - something is going on that I don't understand... |
I don't think that this was ever resolved (hence it's still open I guess). And looking at what this issues is requesting along with what the NoveltySlice document currently contains it looks like no developments happened. Regarding the issue filed here, it looks like I just put the "only in sc" note that I wanted into the discussion section (where |
Yeah, they're two different things. In your OP, the directive could plausibly be made to work if the description for the control was being parsed with due vigour (which definitely feels like something that should happen, in principle). @tremblap's desire was different, which was to make a whole message / control host-dependent. In his particular case, turned out we could just sneak it into the jinja template instead (which sucks a bit, but it sucks with precedent). |
Currently it seems that the
.. only_in:: sc`` functionality only works in the discussion section. It would be wonderful for it to also be available in the
:control:` sections to enable something like this:The text was updated successfully, but these errors were encountered: