-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Generate documentation from source code #333
Comments
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
The inko-doc branch now contains the necessary changes to produce a bunch of JSON files containing documentation information. Rather than including a static site generator (amongst other things) directly in the For this to work, the |
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
This adds the command "inko doc", producing a set of JSON files containing documentation about modules and their symbols. These files can then be used by a separate tool to generate a website, manual pages, and so on. This fixes #333. Changelog: added
cefa664 adds the https://github.com/inko-lang/idoc/ takes these files and converts them to HTML. idoc uses dependencies not part of the standard library, meaning that a new Inko release may require some changes to be made to idoc after the Inko release. If we ship idoc as part of a release, this creates a circular dependency preventing us from releasing a new Inko version. Turning idoc into a separate tool means that in the worst case we have to re-run some failing CI job to generate a release's documentation files, which won't block a release as this will be done at the end of the release pipeline. |
For installing idoc, one can just use the |
Inko's compiler should provide a way of generating documentation from source code, using the command
inko doc
. When doing so, dependencies of the project (i.e. everything not in./src
) should be skipped.The output of this command is a set of JSON files, with one file per Inko module. Each JSON file contains the documentation of the module, its types, methods, etc. We won't be producing HTML directly, as I don't want to maintain what is basically a static site generator.
Inko's lexer already supports extracting comments, but the parser just discards these. We'll need to provide an option which when set causes the parser to store the comments somewhere for later use.
Generating documentation would still run the type checker, as generating documentation depends on typing information. Essentially we'd have to map the source comments to entries in the type database, then serialise that to JSON.
idoc TODO
Inko TODO
main
for every pushmain
introduces breaking changes, but the third-party dependencies target the latest public release? Do we just allow this job to fail?inko doc
), then keeping it separate is probably bestThe text was updated successfully, but these errors were encountered: