Skip to content

Commit 2eaf033

Browse files
committed
Update post_production.md
1 parent 51a3afc commit 2eaf033

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

webdoc/docs/post_production.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ env.markdown contains the markdown of the page, before rendering
172172

173173
env.page contains notably the following information:
174174

175-
| Attribute | Value |
176-
| --------------- | --------------------------------------------------------------------------------------------------------------------------------- |
177-
| `title` | title of the page |
178-
| `abs_url` | the absolute url of the page from the top of the hierarchy |
179-
| `canonical_url` | the complete url of the page (typically with `https://...`) |
180-
| `markdown` | the whole markdown code (before or after rendering). |
181-
| `meta` | the meta data dictionary, as updated (typically) from the YAML header. |
175+
| Attribute | Value |
176+
| --------------- | ---------------------------------------------------------------------- |
177+
| `title` | title of the page |
178+
| `abs_url` | the absolute url of the page from the top of the hierarchy |
179+
| `canonical_url` | the complete url of the page (typically with `https://...`) |
180+
| `markdown` | the whole markdown code (before or after rendering). |
181+
| `meta` | the meta data dictionary, as updated (typically) from the YAML header. |
182182

183183
---
184184

@@ -347,6 +347,8 @@ my_HTML = None
347347
348348
def define_env(env):
349349
"Definition of the module"
350+
# necessary if you want to modify a global variable
351+
global my_html
350352
351353
# put here your HTML content
352354
my_HTML = ......

0 commit comments

Comments
 (0)