-
Notifications
You must be signed in to change notification settings - Fork 51
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
Implement Docsrv #124
Implement Docsrv #124
Conversation
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #124 +/- ##
=======================================
Coverage 83.72% 83.72%
=======================================
Files 17 17
Lines 983 983
=======================================
Hits 823 823
Misses 98 98
Partials 62 62 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think docsrv
should be transparent for repositories, instead of forcing them to follow specific (undocumented?) rules and maintain specific build rules. I guess that's not possible for some reason.
-include $(MAKEFILE) | ||
|
||
# Docsrv: configure the languages whose api-doc can be auto generated | ||
LANGUAGES = go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are also java bindings, should it be reflected here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java api was not defined as a requirement; it could be added as a feature request.
Makefile
Outdated
# Docsrv: configure the languages whose api-doc can be auto generated | ||
LANGUAGES = go | ||
# Docsrv: configure the directory containing the python sources | ||
PYTHON_MAIN_DIR ?= ./python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no python dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a default value, used if there is python code (that do not interfere if there is no python code)
Anyway, I can delete it from enry for sure (I'll do so in a new PR)
@@ -120,7 +120,7 @@ Note that even if enry's CLI is compatible with linguist's, its main point is th | |||
Java bindings | |||
------------ | |||
|
|||
Generated Java binidings using a C shared library + JNI are located under [`java`](java) | |||
Generated Java binidings using a C shared library + JNI are located under [`java`](https://github.com/src-d/enry/blob/master/java) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docsrv
cannot infer relative references? Shouldn't it be better to add support to infer them instead of forcing every repo to avoid them? (which will be hard)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be proposed as a feature request, but for this first release docsrv only converts md
to html
instead of parsing/replacing links
@abeaumont |
@abeaumont answered your doubts inline. |
No description provided.