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

documentation build #32

Closed
wilzbach opened this issue Mar 31, 2016 · 11 comments
Closed

documentation build #32

wilzbach opened this issue Mar 31, 2016 · 11 comments

Comments

@wilzbach
Copy link
Member

I guess in the near future we want to provide a generated online documentation, preferable automatically (e.g. travis build uploaded to s3).

Maybe Adam's new documentation generator is worth looking at.

@9il
Copy link
Member

9il commented Mar 31, 2016

Maybe Adam's new documentation generator is worth looking at.

Have you build something with Adam's docs?

@wilzbach
Copy link
Member Author

Nope, was just an idea. However I have done this Travis to s3 many times, so if you have a favorite doc generator, I would be happy to hack something together next week.

On March 31, 2016 5:44:25 PM GMT+03:00, Ilya Yaroshenko notifications@github.com wrote:

Maybe Adam's new documentation generator is worth looking at.

Have you build something with Adam's docs?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#32 (comment)

@9il
Copy link
Member

9il commented Mar 31, 2016

Nope, was just an idea. However I have done this Travis to s3 many times, so if you have a favorite doc generator, I would be happy to hack something together next week.

I like https://github.com/kiith-sa/harbored-mod and Adam's doc engine looks good too. Mir requires all DDOC macros from Phobos. This will add some problems.

@wilzbach
Copy link
Member Author

Mir requires all DDOC macros from Phobos. This will add some problems.

Hmm yeah this is going to be tricky, but maybe taking the macro definition from the dlang.org repo is already enough.

I am more worried about references to Phobos modules, so when using REF the link won't resolve, but perhaps as a workaround a simple regex could find these occurrences

An alternative would be to use the setup from dlang.org, but modified to only build Mir.
The advantages here is that we avoid ui bugs due to different documentation engines if a module will be merged to Phobos and their css design is pretty sweet.

On March 31, 2016 5:58:11 PM GMT+03:00, Ilya Yaroshenko notifications@github.com wrote:

Nope, was just an idea. However I have done this Travis to s3 many
times, so if you have a favorite doc generator, I would be happy to
hack something together next week.

I like https://github.com/kiith-sa/harbored-mod and Adam's doc engine
looks good too. Mir requires all DDOC macros from Phobos. This will add
some problems.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#32 (comment)

@wilzbach
Copy link
Member Author

as bootDoc is working again - do you want to add that back to the Readme?

Btw should we archive every documentation version? We could just execute the s3 copy command to the git describe --abbrev=0 --tags (latest tag) too, but then we should probably provide a nice way for the user to switch between documentations and at the moment we didn't introduce any breaking changes - so just an idea once the first official version is released.

@9il
Copy link
Member

9il commented Apr 18, 2016

as bootDoc is working again - do you want to add that back to the Readme?

We still need to add macros like LREF and others.

@9il
Copy link
Member

9il commented Apr 18, 2016

Btw should we archive every documentation version? We could just execute the s3 copy command to the git describe --abbrev=0 --tags (latest tag) too, but then we should probably provide a nice way for the user to switch between documentations and at the moment we didn't introduce any breaking changes - so just an idea once the first official version is released.

This would be helpful

@wilzbach
Copy link
Member Author

After testing ddox, bootDoc, harbored-mod I gave@adamdruppe's new adrdox a try:
http://docs.mir.dlang.io/adrdox/mir.combinatorics.html

It's still in an experimental stage, but I really like the fact how easy it is to give it a custom skeleton :)

@9il
Copy link
Member

9il commented Apr 24, 2016

Looks good

@wilzbach
Copy link
Member Author

wilzbach commented May 2, 2016

I like https://github.com/kiith-sa/harbored-mod and Adam's doc engine looks good too

Seems like harbored is working again.
I gave it a try too: http://docs.mir.dlang.io/harbored/

@9il
Copy link
Member

9il commented May 2, 2016

Fixed with #203

@9il 9il closed this as completed May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants