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

Customer.js or order.js do not appear on docs.html #16

Closed
marakas opened this issue Jan 25, 2012 · 4 comments
Closed

Customer.js or order.js do not appear on docs.html #16

marakas opened this issue Jan 25, 2012 · 4 comments

Comments

@marakas
Copy link

marakas commented Jan 25, 2012

Following the tutorial ( http://javascriptmvc.com/docs.html#!DocumentJS )

  • the first step works fine, the contents of "crm.js" are displayed on the docs.html
  • adding customer.js and order.js in the second step, re-run the doc.bat and nothing changes on docs.html.

Please help!

@marakas
Copy link
Author

marakas commented Jan 25, 2012

Just to add I tried this in both Chrome and Firefox.

@yfilali
Copy link

yfilali commented Feb 8, 2012

How are you invoking DocumentJS? Are you using
documentjs/doc crm
or
js scripts/docs.js

The first notation should find all js files in crm/ and add them to the doc (at least it did for me)

@sparkle-sparkle
Copy link

If you change the name of crm.js to index.js it works, but don't forget to change the steal loading in crm.html
src='../steal/steal.js?crm/index.js'

@neektza
Copy link
Contributor

neektza commented Nov 7, 2012

Documentation for DocumentJS was wrong. Top page needs to be marked as "@page index CRM", and other pages need to have a "@parent index" reference. In other words, there needs to be a @page marked "index".

The docs will be fixed in the new release of JMVC. I

@neektza neektza closed this as completed Nov 7, 2012
daffl added a commit that referenced this issue Jul 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants