Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.19 KB

test-ui-bundle.md

File metadata and controls

18 lines (13 loc) · 1.19 KB

Testing un-merged docs-ui changes

If you want to test an un-merged change made in the docs-ui repository with content from the ownCloud documentation, build as usual the documentation with the Antora command but add the option --ui-bundle-url <path-to-your-local-ui-bundle>/ui-bundle.zip to your command. The location for this bundle is in the docs-ui repository in directory build/. More details for prerequisites and how the create the ui-bundle.zip can be found in the docs-ui repository.

The following example assumes:

  • You are in the root directory of your local docs repository
  • The docs-ui repository directory is on the same directory level as docs
  • You have ui-bundle.zip manually created with gulp pack
  • You have a webserver pointing to the public directory in your local docs repository to access the built documentation
yarn antora \
	--ui-bundle-url ../docs/build/ui-bundle.zip \
	--url http://localhost:8080

If the build returns without an error, open the documentation with your browser to see your changes.