-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix relocated files help display. (#12185)
- Adjust for the fact that indented text is treated by readme.com as a blockquote, even inside `<p></p>`. - Fix an empty string that caused a 500 error on readme.com (they cannot handle `<code></code>` with no content for some reason). [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
Showing
3 changed files
with
20 additions
and
13 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
build-support/bin/docs_templates/target_reference.md.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
{{! Mark as a paragraph to render as plain text, rather than markdown. The spaces matter. }} | ||
<p> {{{description}}} </p> | ||
{{{description}}} | ||
|
||
{{#fields}} | ||
## <code>{{alias}}</code> | ||
|
||
<span style="color: purple">type: <code>{{type_hint}}</code></span> | ||
<span style="color: green">{{{default_or_required}}}</span> | ||
|
||
{{! Mark as a paragraph to render as plain text, rather than markdown. The spaces matter. }} | ||
<p> {{{description}}} </p> | ||
{{{description}}} | ||
|
||
{{/fields}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters