Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
a99fbe67
Commit
a99fbe67
authored
Dec 14, 2019
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply a typo fix retroactively
parent
adbed11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
support/manage.py
support/manage.py
+2
-1
No files found.
support/manage.py
View file @
a99fbe67
...
...
@@ -137,7 +137,7 @@ def update_site(env):
if
not
os
.
path
.
exists
(
contents
):
os
.
rename
(
os
.
path
.
join
(
target_doc_dir
,
'index.rst'
),
contents
)
# Fix issues in reference.rst/api.rst.
for
filename
in
[
'reference.rst'
,
'api.rst'
]:
for
filename
in
[
'reference.rst'
,
'api.rst'
,
'index.rst'
]:
pattern
=
re
.
compile
(
'doxygenfunction.. (bin|oct|hexu|hex)$'
,
re
.
M
)
with
rewrite
(
os
.
path
.
join
(
target_doc_dir
,
filename
))
as
b
:
b
.
data
=
b
.
data
.
replace
(
'std::ostream &'
,
'std::ostream&'
)
...
...
@@ -146,6 +146,7 @@ def update_site(env):
b
.
data
=
b
.
data
.
replace
(
'unsigned int'
,
'unsigned'
)
b
.
data
=
b
.
data
.
replace
(
'operator""_'
,
'operator"" _'
)
b
.
data
=
b
.
data
.
replace
(
', size_t'
,
', std::size_t'
)
b
.
data
=
b
.
data
.
replace
(
'aa long'
,
'a long'
)
# Fix a broken link in index.rst.
index
=
os
.
path
.
join
(
target_doc_dir
,
'index.rst'
)
with
rewrite
(
index
)
as
b
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment