This repo contains the content for the documentation for VMware Harbor Registry.
The content in this repo publishes to the VMWare Harbor Registry documentation site at https://docs.pivotal.io/partners/vmware-harbor/.
The subnav for this documentation is located at https://github.com/pivotal-cf/docs-book-partners/blob/master/master_middleman/source/subnavs/vmware-harbor_subnav.erb.
Please help us improve the accuracy and completeness of the VMware Harbor Registry documentation by contributing.
The easiest way to contribute is to file a pull request through GitHub.
Every topic in the VMware Harbor Registry documentation has a corresponding file in this repo. Locate the correct file and make a pull request against it. You can also navigate to the topic and click "View the source for this page in GitHub" at the bottom of the topic.
Bookbinder is a command-line utility for stitching Markdown docs into a hostable web app. The PCF Docs Team uses Bookbinder to publish our documentation sites, but you can also use Bookbinder to view a live version of your documentation on your local machine.
Bookbinder draws the content for the site from this repo, the left navigation menu ("subnav") from docs-book-partners, and various layout configuration and assets from docs-layout-repo.
To use Bookbinder to view your documentation, perform the following steps:
- Clone this repo to the
~/workspacedirectory on your local machine. - Clone
docs-book-partnersanddocs-layout-repoto the~/workspacedirectory on your local machine. - Change into the
docs-book-partnersdirectory. - Run
bundle installto install all of the necessary gems, including Bookbinder. - Build your documentation site with
bookbinderin one of the two following ways:- Run
bundle exec bookbinder watchto build an interactive version of the docs and navigate tolocalhost:4567/myservice/in a browser. (It may take a moment for the site to load at first.) This builds a site from your content repo atdocs-content, and then watches that repo to update the site if you make any changes to the repo. - Run
bundle exec bookbinder bind localto build a Rack web-app of the book. After the bind has completed,cdinto thefinal_appdirectory and runrackup. Then navigate tolocalhost:9292/myservice/in a browser.
- Run
If, after running bundle exec bookbinder watch and navigating to localhost:4567/myservice/, you see the message "Error compiling CSS asset" related to the font-awesome-sass library, do the following:
- Open the
Gemfile. - Add the line
gem 'font-awesome-sass', "4.7.0". - Save the
Gemfile. - Run
bundle update.
To view the locally built book for this repository, use the following URL: http://localhost:4567/partners/vmware-harbor/index.html.