Fix formatting for StandaloneViewer docs, update Gitbook dependencies

This commit is contained in:
Erik Ziegler 2018-06-13 12:04:42 +02:00
parent e528c430de
commit 4a57ec7137
2 changed files with 14 additions and 14 deletions

View File

@ -32,9 +32,11 @@
}, },
"homepage": "https://github.com/OHIF/Viewers#readme", "homepage": "https://github.com/OHIF/Viewers#readme",
"dependencies": { "dependencies": {
"gitbook-plugin-anchors": "^0.7.1",
"gitbook-plugin-edit-link": "^2.0.2", "gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-github": "^3.0.0",
"gitbook-plugin-ga": "^2.0.0", "gitbook-plugin-ga": "^2.0.0",
"gitbook-plugin-sitemap": "^1.2.0" "gitbook-plugin-github": "^3.0.0",
"gitbook-plugin-sitemap": "^1.2.0",
"gitbook-plugin-theme-cornerstone": "^1.1.1"
} }
} }

View File

@ -41,7 +41,6 @@ It is possible to build this standalone viewer to run as a client-only bundle of
METEOR_PACKAGE_DIRS="../../Packages" meteor-build-client-fixed ../myOutputFolder -u localhost:3000 METEOR_PACKAGE_DIRS="../../Packages" meteor-build-client-fixed ../myOutputFolder -u localhost:3000
```` ````
3. Test the bundled client-side package locally. 3. Test the bundled client-side package locally.
Note: You will need to have Python installed to run the test server for this case. It is not a typical simple HTTP server. The bundled script redirects all URLs following the base URL to index.html. It will then use the routes defined in your application to handle the URL parameters. Note: You will need to have Python installed to run the test server for this case. It is not a typical simple HTTP server. The bundled script redirects all URLs following the base URL to index.html. It will then use the routes defined in your application to handle the URL parameters.
@ -50,7 +49,6 @@ It is possible to build this standalone viewer to run as a client-only bundle of
So if you navigate to http://localhost:3000/sampleJPEG.json the application will retrieve the JSON from http://localhost:3000/api/sampleJPEG.json and use it to populate the viewer. If something appears to be broken, make sure you retrieve a JSON file at the /api URL. So if you navigate to http://localhost:3000/sampleJPEG.json the application will retrieve the JSON from http://localhost:3000/api/sampleJPEG.json and use it to populate the viewer. If something appears to be broken, make sure you retrieve a JSON file at the /api URL.
Create the api folder for your data Create the api folder for your data
````bash ````bash