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

CA-261855: Generate automatically an image map for the API classes. #3167

Merged
merged 1 commit into from Aug 14, 2017

Conversation

kc284
Copy link
Contributor

@kc284 kc284 commented Aug 14, 2017

Also: fixed the size of the image; moved the method return type into the same
line as the rest of the method signature.

Signed-off-by: Konstantina Chremmou konstantina.chremmou@citrix.com

@coveralls
Copy link

Coverage Status

Coverage remained the same at 15.139% when pulling c233de2 on kc284:master into 01a87ac on xapi-project:master.

@robhoes
Copy link
Member

robhoes commented Aug 14, 2017

Several files have "100644 → 100755" (permissions changed), which is probably by accident.

@@ -81,8 +56,6 @@ <h1 class="title">XenAPI Classes</h1>
<li> add_to_X: add a key/value pair (only if field has type set or map); and</li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should fix these two at some point, as this is true only for maps...

@coveralls
Copy link

Coverage Status

Coverage remained the same at 15.139% when pulling e5baed0 on kc284:master into 01a87ac on xapi-project:master.

@@ -1,13 +1,14 @@
# A note on generating locally the API reference

Run `make doc`. The output is in `_build/ocaml/doc/markdown`.
Run `make doc`. The output is in `_build/ocaml/doc`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this section could be made clearer.


  • Running make doc creates documentation in HTML format in _build/ocaml/doc. This requires graphiv to be installed for generating images from *.dot files

  • To generate documentation in PDF format, run sh doc-convert.sh in _build/ocaml/doc. This requires pandoc and pdflatex being installed.

  • To generated documentation in Docbook format, run sh doc-convert.sh --docook in _build/ocaml/doc. This requires pandoc being installed.


Why not provide makefile targets for these?

  • make-doc
  • make-doc-html
  • make-doc-pdf
  • make-doc-docbook

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll extend the README, but I'm not sure it's a good idea to expose these targets in the Makefile, because it gives the impression it should run out of the box, but it doesn't because pandoc and latex are not in the dependencies.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 15.153% when pulling 354c036 on kc284:master into 01a87ac on xapi-project:master.

<li> add_to_X: add a key/value pair (only if field has type set or map); and</li>
<li> remove_from_X: remove a key (only if a field has type set or map).</li>
<li> add_to_X: add a key/value pair (only if field has type map); and</li>
<li> remove_from_X: remove a key (only if a field has type map).</li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, if you fix that here in this PR, then please also add add_X and remove_x for the set types... :)

Also: fixed the size of the image; moved the method return type into the same
line as the rest of the method signature.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 15.139% when pulling 47ecbbf on kc284:master into 01a87ac on xapi-project:master.

@robhoes robhoes merged commit 1abac32 into xapi-project:master Aug 14, 2017
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

Successfully merging this pull request may close these issues.

None yet

4 participants