Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Problem with doc generation #64

Closed
amadanmath opened this issue Jun 9, 2016 · 2 comments
Closed

Problem with doc generation #64

amadanmath opened this issue Jun 9, 2016 · 2 comments
Assignees

Comments

@amadanmath
Copy link

$ grunt jsdoc-ng:kat
Running "jsdoc-ng:kat" (jsdoc-ng) task
NOM DESC KWARC Annotation Tool: An Annotation Tool for STEM Documents. 
Warning: Arguments to path.join must be strings Use --force to continue.

Aborted due to warnings.

It might (or might not) have something to do with usrz/javascript-grunt-jsdoc-ng#3.

tkw1536 added a commit that referenced this issue Jun 10, 2016
Temporarily disable the docs build target until we have properly dealt with the grunt-jsdoc-ng issue.
@tkw1536 tkw1536 self-assigned this Jun 10, 2016
@tkw1536
Copy link
Member

tkw1536 commented Jun 10, 2016

@amadanmath I haven't had the problem myself, but that is probably because I have an older version of the npm dependencies installed. I have temporarily disabled the docs build target (which only builds the API docs) and will look into it in more detail on monday morning.

/cc @LiftnLearn @kohlhase

@tkw1536
Copy link
Member

tkw1536 commented Jun 13, 2016

I could not find a proper solution for the issues, so I have switched over to using a slightly different jsdoc template. I have tested on a blank machine and have updated the instructions in the README. To update cleanly, do:

cd /path/to/clone/of/KAT/

# Cleanup old versions, ensure the working directory is clean
rm -r node_modules
npm uninstall -g grunt 
git reset --hard

# Pull and install cleanly
git pull
npm install -g grunt
npm install .

/cc @LiftnLearn

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants