-
Notifications
You must be signed in to change notification settings - Fork 410
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude user guides from mkdocs documentation (#2868)
- Loading branch information
1 parent
1e10c6f
commit 5762271
Showing
16 changed files
with
56 additions
and
1,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# MkDocs documentation | ||
|
||
This module contains documentation which is published to GitHub pages: | ||
[kotlin.github.io/dokka](https://kotlin.github.io/dokka/). | ||
|
||
It is built using the [gradle-mkdocs-plugin](https://github.com/xvik/gradle-mkdocs-plugin). | ||
|
||
## Building | ||
|
||
You can build the documentation locally: | ||
|
||
```Bash | ||
./gradlew :mkdocs:mkdocsBuild | ||
``` | ||
|
||
The output directory is `build/mkdocs` | ||
|
||
### Livereload server | ||
|
||
Alternatively, you can run a livereload server that automatically rebuilds documentation on every change: | ||
|
||
```Bash | ||
./gradlew :mkdocs:mkdocsServe | ||
``` | ||
|
||
By default, it is run under [127.0.0.1:3001](http://127.0.0.1:3001/), but you can change it in | ||
[mkdocs.yml](src/doc/mkdocs.yml) by setting the `dev_addr` option. | ||
|
||
## Publishing | ||
|
||
The documentation is published automatically for all changes in master and for every GitHub release. | ||
|
||
See [gh-pages.yml](../.github/workflows/gh-pages.yml) workflow configuration for more details. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,9 @@ | ||
# Dokka | ||
|
||
`Dokka` is an API documentation engine for `Kotlin` that performs the same function as the `Javadoc` tool for `Java`, | ||
but it's modern and highly pluggable. | ||
Dokka is an API documentation engine for Kotlin. | ||
|
||
Just like `Kotlin` itself, `Dokka` supports mixed-language projects (`Kotlin`/`Java`). It understands | ||
[KDoc comments](https://kotlinlang.org/docs/reference/kotlin-doc.html) in `Kotlin` source files as well | ||
as [Javadoc comments](https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html#format) in `Java` | ||
files, and can generate documentation in multiple formats including its own `HTML` format, Java's `Javadoc` lookalike | ||
and `Markdown`. | ||
If you want to learn how to use Dokka, see | ||
[documentation on kotlinlang.org](https://kotlinlang.org/docs/dokka-introduction.html). | ||
|
||
Some libraries that use `Dokka` for API reference docs: | ||
|
||
* [kotlinx.coroutines](https://kotlinlang.org/api/kotlinx.coroutines/) | ||
* [kotlinx.serialization](https://kotlinlang.org/api/kotlinx.serialization/) | ||
* [Ktor](https://api.ktor.io/) | ||
* [Spring Framework](https://docs.spring.io/spring-framework/docs/current/kdoc-api/) | ||
|
||
___ | ||
|
||
`Dokka` provides support for the following build systems: | ||
|
||
* [Gradle](user_guide/applying/gradle.md) (preferred) | ||
* [Maven](user_guide/applying/maven.md) | ||
* [Command line](user_guide/applying/cli.md) | ||
|
||
___ | ||
|
||
`Dokka` is also very pluggable and comes with convenient plugin and extension point API. | ||
|
||
You can write a plugin to support [mermaid.js](community/plugins-list.md#mermaid) diagrams, | ||
[mathjax](community/plugins-list.md#mathjax) formulas or even write custom processing of your own tags and annotations. | ||
|
||
For more info, see: | ||
|
||
* [Sample plugin tutorial](developer_guide/plugin-development/sample-plugin-tutorial.md) | ||
* [Community plugins](community/plugins-list.md) | ||
* [Developer guides](developer_guide/introduction.md) | ||
If you want to learn more about Dokka's internals and/or how to write Dokka plugins, | ||
see [Developer guides](developer_guide/introduction.md). |
Oops, something went wrong.