Skip to content

Commit 2ad6df5

Browse files
committed
doc: fix formatting.
Fix formatting: Change one example quoting info from another doc to blockquote not highlighed pre block. use :: to force some examples to be highighted. Use '.. code-block:: text' to force no highlighting for plain text example blocks.
1 parent 19e842c commit 2ad6df5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/upgrading.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ will take longer but may be worth trying if the ``exporttables`` and
11591159
Another way that should be faster, but is untested is to use mysql
11601160
dump to dump the database.
11611161
https://makandracards.com/makandra/595-dumping-and-importing-from-to-mysql-in-an-utf-8-safe-way
1162-
recommends::
1162+
recommends:
11631163

11641164
Note that when your MySQL server is not set to UTF-8 you need to do
11651165
mysqldump --default-character-set=latin1 (!) to get a correctly
@@ -1238,6 +1238,8 @@ If you do not modify the ``user.register.html`` template in your
12381238
tracker's html directory, you *must* set this to 0. Otherwise you will
12391239
see the error:
12401240

1241+
.. code-block:: text
1242+
12411243
Form is corrupted, missing: opaqueregister.
12421244

12431245
If set to 0, the rate limit check is disabled.
@@ -1630,6 +1632,8 @@ Errors and Troubleshooting - AttributeError list object no attribute value
16301632
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16311633
If you get an error:
16321634

1635+
.. code-block:: text
1636+
16331637
AttributeError: 'list' object has no attribute 'value'
16341638

16351639
in handle_csrf, you have more than one @csrf token for the form. This
@@ -2150,7 +2154,7 @@ not need it.
21502154
Changes to property permissions
21512155
-------------------------------
21522156

2153-
If you create a permission:
2157+
If you create a permission::
21542158

21552159
db.security.addPermission(name='View', klass='user',
21562160
properties=['theme'], check=own_record,
@@ -2177,7 +2181,7 @@ user expects to see the results of the query. But now that
21772181
the code properly checks for duplicate search names, the user should
21782182
stay on the search page if there is an error. To add this to your
21792183
existing issue.search.html page, add the following line after the
2180-
hidden field @old-queryname:
2184+
hidden field ``@old-queryname``::
21812185

21822186
<input type="hidden" name="@template" value="index|search"/>
21832187

0 commit comments

Comments
 (0)