doc: fix 404s for syntax highlighting js

Updated Makefile to remove special casing for those files, and
moved the files to doc/api_assets.

Fixes: https://github.com/iojs/iojs.github.io/issues/51
PR-URL: https://github.com/iojs/io.js/pull/409
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
This commit is contained in:
Phil Hughes 2015-01-14 16:29:52 +00:00 committed by Chris Dickinson
parent ca039b4616
commit e7891034c2
4 changed files with 556 additions and 560 deletions

View File

@ -188,11 +188,7 @@ apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
website_files = \
out/doc/sh_main.js \
out/doc/sh_javascript.min.js
doc: $(apidoc_dirs) $(website_files) $(apiassets) $(apidocs) tools/doc/ $(NODE_EXE)
doc: $(apidoc_dirs) $(apiassets) $(apidocs) tools/doc/ $(NODE_EXE)
$(apidoc_dirs):
mkdir -p $@

File diff suppressed because it is too large Load Diff

View File

@ -45,8 +45,8 @@
<div id="footer">
</div>
<script src="../sh_main.js"></script>
<script src="../sh_javascript.min.js"></script>
<script src="assets/sh_main.js"></script>
<script src="assets/sh_javascript.min.js"></script>
<script>highlight(undefined, undefined, 'pre');</script>
</body>
</html>