Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.
This repository was archived by the owner on Mar 25, 2018. It is now read-only.

V8 auto docs #3

Description

@Qard

I'm trying to figure out a good way to add something to our release process to auto-generate the docs for deps/v8 and dump them somewhere online. The intent is to have a folder tree something like /docs/internals/v8/{node_version} where you can view V8 docs for the relevant node/io.js version.

Challenges:

  • A single build is over 1GB.
  • Requires doxygen is installed.
  • Completion and accuracy of the API reference docs are unknown to me

Perhaps there could be a node service with doxygen and git already installed that watches github releases, checks out the matching commit, runs doxygen, and dumps the resulting files in S3 or something like that? Anyone have any feedback on this idea?

cc: @chrisdickinson

Activity

  1. distracteddev commented on Jun 15, 2015

    @distracteddev

    Does v8 publish these to a public site already?

  2. Qard commented on Jun 15, 2015

    @Qard
    MemberAuthor

    No.

    There are some not up-to-date versions of the docs hosted in various places around the internet, but nowhere that has versions matched to all the releases. The Node Source ones are the closest.

    see:

  3. brendanashworth commented on Jun 16, 2015

    @brendanashworth

    +1! I found this really useful when digging around in the source.

    I've done some with doxygen over here at my repo: http://brendanashworth.github.io/v8-docs/

    Here is the patch I use: brendanashworth/v8-docs@183baa6

  4. distracteddev commented on Jun 16, 2015

    @distracteddev

    Sounds good to me. If we're okay with the build-server idea, I/someone else can probably put a docker container together easily. Then we can decide where to host it.

  5. distracteddev commented on Jun 16, 2015

    @distracteddev

    Might be good to leave the tooling for later though and just for the first release do it manually and dump the folder into git

  6. Qard commented on Jun 27, 2015

    @Qard
    MemberAuthor

    Here's the beginnings of the autodoc service: https://github.com/Qard/v8-autodoc

    You just hit example.com/commit-hash-or-tag/* and it'll generate the docs for the V8 version from that particular commit. It's a bit rough at the moment, but it works.

  7. chad3814 commented on Jul 13, 2015

    @chad3814

    an automated system would be great, I've manually done most versions of node and io.js at http://v8dox.com/

    (this is all non-automated and on github pages)

  8. Qard commented on Jul 14, 2015

    @Qard
    MemberAuthor

    Would anyone care to review my code for the V8-autodoc service, and is there somewhere I can host this?

    I'm a bit unsure what I think of the checkout-and-generate flow. It could be a DoS target, not sure how worried I should be about that risk here.

  9. Trott commented on Mar 13, 2018

    @Trott
    Member

    Closing as this repository is dormant and likely to be archived soon. If this is still an issue, feel free to open it as an issue on the main node repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions