You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add search dependencies
* minor edit
* Remove line numbers from supplemental-ui example links
* another take
---------
Co-authored-by: Eric Schneider <[email protected]>
|Copy these files to the _playbooks/supplemental-ui_ directory in the {url-docs-home}/tree/main/playbooks/supplemental-ui[docs-home] repository.
83
+
|===
84
+
85
+
In the {url-docs-home}[docs-home] repository, the {url-docs-home}/blob/main/playbooks/site-local-home.yaml[_site-local-home.yaml_] and {url-docs-home}/blob/main/playbooks/site-publish-home.yaml[_site-publish-home.yaml_] playbooks are configured to incorporate the files from the _supplemental-ui_ directory into the assets directory of the generated site:
86
+
87
+
[source,yaml]
88
+
----
89
+
ui:
90
+
supplemental_files:
91
+
- path: css/siteSearch.css
92
+
contents: ./supplemental-ui/siteSearch.css
93
+
- path: js/siteSearch.js
94
+
contents: ./supplemental-ui/siteSearch.js
95
+
output_dir: assets
96
+
----
97
+
98
+
Whenever files are changed or added within the _supplemental-ui_ directory, the `home` docset must then be built and deployed to all of the docs servers to ensure that the servers have the latest site search assets.
0 commit comments