Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEST Help Generator #464

Merged
merged 79 commits into from Nov 28, 2016
Merged

NEST Help Generator #464

merged 79 commits into from Nov 28, 2016

Conversation

@steffengraber
Copy link
Collaborator

steffengraber commented Aug 18, 2016

Processing more in less time with less code.

The parser go through all sli and cc files to find documentation and
convert it into .html and .hlp files.
This is a replacement for the old help generation mechanism in NEST.

CMAKE integration is also available.

@@ -123,7 +105,7 @@ def write_help_html(doc_dic, file, sli_command_list, keywords):
hlplist.append('%s:\n' % key)
htmllist.append('<ul>')
for i in value:
see = i.strip("###### ###### $$")
# see = i.strip("###### ###### $$")

This comment has been minimized.

Copy link
@apeyser

apeyser Nov 28, 2016

Contributor

Why commented and not just removed?

elif(c < 32):
hlp_list.append("%s\t%s" % (item['name'],
item['fullname']))
c = len(name)

This comment has been minimized.

Copy link
@apeyser

apeyser Nov 28, 2016

Contributor

'\t' * (16- min(c,60)//4)

This comment has been minimized.

Copy link
@steffengraber

steffengraber Nov 28, 2016

Author Collaborator

@apeyser I was looking for something like that. Perfect.

@apeyser apeyser merged commit ec235a2 into nest:master Nov 28, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@lekshmideepu
Copy link
Contributor

lekshmideepu commented Nov 30, 2016

Merge commit fails in Travis build as it is unable to find the log files in the build directory.

$ cd $TRAVIS_BUILD_DIR/build
$ tar -zcvf logfiles.tar.gz ./*.log
tar: ./*.log: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

It is looking for the following files:

$ tar -zcvf logfiles.tar.gz ./*.log
./install-help.log
$ tar -zcvf reports.tar.gz ./reports
./reports/
./reports/installcheck.log
./reports/TEST-core.phase_2.xml
./reports/TEST-core.phase_1.xml
./reports/TEST-core.phase_4.xml
./reports/TEST-core.phase_3.xml

solution: Need to edit the .travis.yml file to look for new .html and .hlp files

@heplesser
Copy link
Contributor

heplesser commented Nov 30, 2016

@lekshmideepu Thank you very much for your detective work! Could you turn this into a new issue with severity "Critical"?

@lekshmideepu
Copy link
Contributor

lekshmideepu commented Dec 1, 2016

@heplesser sure.done!
#572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

7 participants
You can’t perform that action at this time.