A quick proof-of-concept code browser for the DC Code.
This is a much simpler and less feature-rich system that more developed stuff like The State Decoded, but ideally is either a proof-of-concept of a fully static approach or at least a useful tool for proofing our parser.
This site takes a static approach
to the task. There's no server, but there's a multitude of files. The
initial target for deployment is Amazon S3. The
site is deployed with s3cmd and takes about 16,000
PUT
requests to go live.
git clone git@github.com:openlawdc/code-browser.git
make
Then boot up a local development server: https://gist.github.com/tmcw/4989751
and go to the url specified there, like http://localhost:8080/
CloudFront dist: http://d1eu6ip9xyd6yj.cloudfront.net/
Early versions of the results of this code:
The most useful output so far is JSON sections (zipped) (21MB) -
16,569 detected sections (detected with parse.js
) output into JSON.
These are fast to generate but downloading them lets you skip the Word Doc
to Text to Parsed workflow.
Precook is updated with search indices!