Skip to content

Commit

Permalink
Fix some documentation build warnings.
Browse files Browse the repository at this point in the history
Now that the docs are split in different files, we need to add myst-parser
specific markups for cross-reference links.

After this patch, there are still 2 problems reported when building the docs:

- the snippet in docs/hint_details.md creating hints_func errors out as the "$"
  character is incompatible with SQL formatting.  Leave it as-is, as the result
  is that sql highlighting is only skipped for this snippet, which would be the
  same if we explicitly removed the sql tag, but we still get a warning to
  remind us about the problem if we want to eventually find a solution.
- there's a link to some "#restrictions" paragraph in docs/hint_table.md, but
  as far as I can see this link has always been dead so I'm not sure what to do
  of it.

Pull request #125, fixes #123

Backpatch-through: 14
  • Loading branch information
rjuju committed Mar 15, 2023
1 parent c0a9db0 commit cc65bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/hint_list.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(hints-list)=
# Hints list

The available hints are listed below.
Expand Down
1 change: 1 addition & 0 deletions docs/hint_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ postgres-# SELECT * FROM table1 t1 WHERE key = 'value';
...
```

(guc-parameters-for-pg_hint_plan)=
## GUC parameters for `pg_hint_plan`

GUC parameters below affect the behavior of `pg_hint_plan`.
Expand Down

0 comments on commit cc65bee

Please sign in to comment.