mirror of https://github.com/knative/docs.git
One plugin section to rule them all (fixes search) (#3645)
This commit is contained in:
parent
57fb9e4a5a
commit
a19b8604bf
|
@ -13,10 +13,15 @@ To obtain the version of the Knative component that you have running on your clu
|
|||
=== "Knative Serving"
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels "serving.knative.dev/release"}}'
|
||||
{% endraw %}
|
||||
```
|
||||
|
||||
=== "Knative Eventing"
|
||||
|
||||
```
|
||||
{% raw %}
|
||||
kubectl get namespace knative-eventing -o 'go-template={{index .metadata.labels "eventing.knative.dev/release"}}'
|
||||
{% endraw %}
|
||||
```
|
||||
|
|
24
mkdocs.yml
24
mkdocs.yml
|
@ -231,18 +231,6 @@ theme:
|
|||
- navigation.indexes
|
||||
- navigation.top
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- macros:
|
||||
module_name: hack/macros
|
||||
- exclude:
|
||||
glob:
|
||||
# Exclude files that contain hugo specific shortcodes
|
||||
# (either the include shortcode or not-converted-yet tabs).
|
||||
- smoketest.md
|
||||
- "*/serving-api.md" # shortcode to serving.md
|
||||
- "*/_index.md" # pretty much all shortcodes
|
||||
|
||||
markdown_extensions:
|
||||
# - mdx_include:
|
||||
# base_path: docs
|
||||
|
@ -267,8 +255,18 @@ markdown_extensions:
|
|||
permalink: true
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- macros:
|
||||
module_name: hack/macros
|
||||
- exclude:
|
||||
glob:
|
||||
# Exclude files that contain hugo specific shortcodes
|
||||
# (either the include shortcode or not-converted-yet tabs).
|
||||
- smoketest.md
|
||||
- "*/serving-api.md" # shortcode to serving.md
|
||||
- "*/_index.md" # pretty much all shortcodes
|
||||
- awesome-pages:
|
||||
filename: .index
|
||||
filename: ".index"
|
||||
collapse_single_pages: true
|
||||
strict: false
|
||||
- redirects:
|
||||
|
|
Loading…
Reference in New Issue