mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
* Don't link to docs that don't exist * Add generateDocumentation task to documentation task group * Only process KDoc for detekt-api * Generate empty javadoc artifacts * Link documentation to JDK 8 * Publish detekt-api docs to docs site * Use relative URLs when linking internally in docs Since KDoc output is in a subfolder in the pages directory, previous assumptions about how to access static resources no longer hold. Instead it's necessary to use relative URLs which will resolve to the correct URL regardless of whether the site is hosted locally or on GitHub pages. * Don't remove slashes within generated URL Pages in subfolders need the slashes within the URL to properly specify the folder path.
34 lines
651 B
JSON
34 lines
651 B
JSON
---
|
|
title: search
|
|
layout: none
|
|
search: exclude
|
|
---
|
|
|
|
[
|
|
{% for page in site.pages %}
|
|
{% unless page.search == "exclude" %}
|
|
{
|
|
"title": "{{ page.title | escape }}",
|
|
"tags": "{{ page.tags }}",
|
|
"keywords": "{{page.keywords}}",
|
|
"url": "{{ page.url }}",
|
|
"summary": "{{page.summary | strip }}"
|
|
}
|
|
{% unless forloop.last and site.posts.size < 1 %},{% endunless %}
|
|
{% endunless %}
|
|
{% endfor %}
|
|
|
|
{% for post in site.posts %}
|
|
|
|
{
|
|
"title": "{{ post.title | escape }}",
|
|
"tags": "{{ post.tags }}",
|
|
"keywords": "{{post.keywords}}",
|
|
"url": "{{ post.url | remove: "/" }}",
|
|
"summary": "{{post.summary | strip }}"
|
|
}
|
|
{% unless forloop.last %},{% endunless %}
|
|
{% endfor %}
|
|
|
|
]
|