Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
e4a5bed3
Commit
e4a5bed3
authored
Jul 02, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python indentation cleanup broke code generation
parent
3fd821c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1071 additions
and
255 deletions
+1071
-255
config.xml
src/config.xml
+2
-1
configgen.py
src/configgen.py
+1
-1
configoptions.cpp
src/configoptions.cpp
+1068
-253
No files found.
src/config.xml
View file @
e4a5bed3
...
...
@@ -10,7 +10,8 @@ http://www.gnu.org/software/libiconv for the list of possible encodings.
<option
type=
'string'
id=
'PROJECT_NAME'
format=
'string'
docs=
'
The PROJECT_NAME tag is a single word (or sequence of words) that should
identify the project. Note that if you do not use Doxywizard you need
to put quotes around the project name if it contains spaces.'
defval=
'My Project'
/>
to put quotes around the project name if it contains spaces.'
defval=
'My Project'
/>
<option
type=
'string'
id=
'PROJECT_NUMBER'
format=
'string'
docs=
'
The PROJECT_NUMBER tag can be used to enter a project or revision number.
This could be handy for archiving the generated documentation or
...
...
src/configgen.py
View file @
e4a5bed3
...
...
@@ -31,7 +31,7 @@ def parseOption(node):
depends
=
node
.
getAttribute
(
'depends'
)
setting
=
node
.
getAttribute
(
'setting'
)
# replace \ by \\, replace " by \", and ' ' by a newline with end string and start string at next line
docC
=
doc
.
strip
()
.
replace
(
'
\\
'
,
'
\\\\
'
)
.
replace
(
'"'
,
'
\\
"'
)
.
replace
(
' '
,
'
\\
n"
\n
"'
)
docC
=
doc
.
strip
()
.
replace
(
'
\\
'
,
'
\\\\
'
)
.
replace
(
'"'
,
'
\\
"'
)
.
replace
(
' '
,
'
\\
n"
\n\t\t\t
"'
)
if
len
(
setting
)
>
0
:
print
"#if
%
s"
%
(
setting
)
print
" //----"
...
...
src/configoptions.cpp
View file @
e4a5bed3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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