中文readme:readme
-
To compile the doc , you need all things that [polymer/docs] (https://github.com/Polymer/docs/) needed except App Engine SDK.
-
To browse the doc , you need compiled dirs :
/_site
,/components
. This not include designer and apps. -
To publish as a website , you need compiled dirs :
/_site
,/polymer-all/projects
,/components
- see
docs_site.nginx
-
add
docs_site.nginx
to yoursites-available
dir or nginx.conf -
replace $polymer_docs_root to your docs path.
-
set the permission to allow nginx read the file
-
replace 40000 to the port you want.
-
reload or restart your nginx