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

generate-index.py script generates different classesAndGlobalFunctions.txt file #1

Closed
cuinjune opened this issue Jul 9, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@cuinjune
Copy link

commented Jul 9, 2019

Hi, I just tried running the generate-index.py script to generate the index folder myself.

After running the script, it generated index/classesAndGlobalFunctions.txt file and index/html folder.

However, when I opened the classesAndGlobalFunctions.txt file, the content was different from the file that is contained in master.

For example, my generated file looks like the following:
ofDrawArrow documentation/3d/of3dUtils show_ofDrawArrow

whereas the master version looks like this:
ofDrawArrow 3d/of3dUtils show_ofDrawArrow

Why are they different and how to generate files like it is contained in the master?

@lilive

This comment has been minimized.

Copy link
Owner

commented Jul 9, 2019

Hi cuinjune,

Can we check you've set the correct value for docSourcesRootPath in generate-index.py ?
What value have you assigned to this variable ?

@cuinjune

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

docSourcesRootPath = os.path.expanduser('/Users/cuinjune/Downloads/ofSite')

@lilive

This comment has been minimized.

Copy link
Owner

commented Jul 9, 2019

I think you miss de /documentation folder at the end.
Try:
docSourcesRootPath = '/Users/cuinjune/Downloads/ofSite/documentation'

( you wrote the full path, so you don't need the os.path.expanduser(). You probably can do either:
docSourcesRootPath = os.path.expanduser('~/Downloads/ofSite/documentation')
)

@cuinjune

This comment has been minimized.

Copy link
Author

commented Jul 10, 2019

Thanks! It worked.

@cuinjune cuinjune closed this Jul 10, 2019

@lilive

This comment has been minimized.

Copy link
Owner

commented Jul 11, 2019

Good. Feel free to make other feedbacks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.