-
Notifications
You must be signed in to change notification settings - Fork 25
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
Trying to create new docs - wont index #31
Comments
Hey. Checking this out right now. |
When you do |
Yes. The output of
The output of
I start wat by Thank you! |
Ah thanks. Can you pls run The The So it should have written an index in |
Yeah - I just cloned your branch and tried this, and this was the case. It is successfully writing your updates in the index. The problem is that you wont see them until you push the updates up to Github. That's my problem, which I'll fix right now. |
Yes, the output is:
(copied from terminal, diff is truncated) |
That's the index, correctly written. |
Ok, it means the current index is fetched from github? Not a bad idea, so the users does not have to update the client on them side all the time. Would be nice to have an option to use the local index then :) Thanks for looking on it. |
In a nutshell (I hope this makes sense): You have a REMOTE index (github.com/dthree/wat),
You're right, I need to make a And yeah, Wat is always checking and auto-updating the index, so it never goes out of date. |
What do you think a good command would be? Maybe:
|
Yes, I think this makes it clear and allows me to hack locally until I think the docs are ready to push. Am 20. Oktober 2015 19:03:16 MESZ, schrieb dc [email protected]:
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. |
Great! Okay this is done. Scrap So, edit files, and then |
Sorry for my late reply. Had a chance to test this feature now and it works perfectly! Just a little note: When I add the docs locally, and reindex, I get the following errors:
It works, but maybe the fetch is unnecessary for local docs in dev-mode? |
Haha - whoops. Yeah, let me turn off that part. Shouldn't cause you trouble, but it isn't necessary. |
Hi,
I need a jump-start again.
I am trying to create new documentation for protractor. As there are no good api-docs for protractor in markdown-format on github, I want to paste them hand-crafted from angular.github.io/protractor to the
docs/
folder.What I have done:
docs/protractor
docs/protractor/element/all/index.md
anddocs/protractor/element/index.md
docs/js
todocs/protractor
and edited it to contains both functions 'element' and 'element/all'index
in wat -> nothing happensgulp index
on shell -> nothing happensWhat have I exactly to do, to add this new docs?
For me it looks on the first view exactly like the js doc. The files
config/config.json
andconfig/index.json
were also updated automatically by index command.For clarity you can see the wip here: https://github.com/defel/wat/tree/protractor-docs/docs/protractor
The text was updated successfully, but these errors were encountered: