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

Doc linkification and :macrocall: improvements #1495

Merged
merged 4 commits into from
May 8, 2023

Conversation

cgay
Copy link
Member

@cgay cgay commented May 1, 2023

Link lots of things and improve the formatting of :macrocall: markup.

Old:
current-markup

New:
parsed-literal-markup

cgay added 4 commits May 1, 2023 17:15
This might seem silly at first glance, but (a) why not consistently link DRM
objects, and (b) it removes the most common source of red markup, which I find
annoying. (Yes, I should figure out how to fix that for real.)
The old way was to use `.. code-block:: dylan` followed by an example using `*`
where it wanted italics. But inside code-block `*` isn't recognized, so this
came out looking like lots of global variables.

The new way used `.. parsed-literal:: ` (note the trailing space) followed by
an example using backquotes to create italics. This has the additional
advantage that when editing the source in emacs the italicized parts are
colorized, but only when that trailing space is present in the parsed-literal
directive! Go figure. (There's some risk that Future Me will compulsively do
M-x delete-trailing-whitespace and break that.)
@cgay cgay force-pushed the doc-linkification branch from e5a49e8 to b80c73e Compare May 1, 2023 23:12
@cgay cgay merged commit f584d8f into dylan-lang:master May 8, 2023
@cgay cgay deleted the doc-linkification branch March 22, 2024 04:57
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

Successfully merging this pull request may close these issues.

1 participant