Sometime programmer.
Jack of more than a few trades. Master of less than one.
This project forked from raffy2010/dash-clojuredocs
Tool for generating ClojureDocs docset for Dash
Sometime programmer.
Jack of more than a few trades. Master of less than one.
No good reason other than my own familiarity
Does this repeat the crawl & local persistence in toto every time? If so, can we improve?
20-08-24 03:47:35 bamboo INFO [pegasus.queue:59] - :obtained http://clojuredocs.org/clojure.test.junit/suite-attrs
20-08-24 03:47:35 bamboo INFO [pegasus.defaults:253] - :num-visited 1395
20-08-24 03:47:35 bamboo INFO [pegasus.defaults:262] - :stopping-crawl!
20-08-24 03:47:35 bamboo INFO [pegasus.defaults:267] - :stop-items 2
Exception in thread "main" clojure.lang.ExceptionInfo: resource-path for template.html returned nil, typically means the file doesn't exist in your classpath. {:type :selmer-validation-error, :error "resource-path for template.html returned nil, typically means the file doesn't exist in your classpath.", :error-template "<html>\n<head>\n <font face='arial'>\n <style type='text/css'>\n body {\n margin: 0px;\n background: #ececec;\n }\n #header {\n padding-top: 5px;\n padding-left: 25px;\n color: white;\n background: #a32306;\n text-shadow: 1px 1px #33333;\n border-bottom: 1px solid #710000;\n }\n #error-wrap {\n border-top: 5px solid #d46e6b;\n }\n #error-message {\n color: #800000;\n background: #f5a29f;\n padding: 10px;\n text-shadow: 1px 1px #FFBBBB;\n border-top: 1px solid #f4b1ae;\n }\n #file-wrap {\n border-top: 5px solid #2a2a2a;\n }\n #file {\n color: white;\n background: #333333;\n padding: 10px;\n padding-left: 20px;\n text-shadow: 1px 1px #55 background: #d6d6d6;\n float: left;\n padding: 5px;\n text-shadow: 1px 1px #EEEEEE;\n border-right: 1px solid #b6b6b6;\n }\n #line-content {\n float: left;\n padding: 5px;\n }\n #error-content {\n float: left;\n width: 100%;\n border-top: 5px solid #cdcdcd;\n }\n </style>\n</head>\n<body>\n<div id='header'>\n <h1>Template Compilation Error</h1>\n</div>\n<div id='error-wrap'>\n <div id='error-message'>{{error}}.</div>\n</div>\n{% if template %}\n<div id='file-wrap'>\n <div id='file'>In {{template}}{% if line %} on line {{line}}{% endif %}.</div>\n</div>\n{% for error in validation-errors %}\n<div id='error-content'>\n <div id='line-number'>{{error.line}}</div>\n <div id='line-content'>{{error.tag}}</div>\n</div>\n{% endfor %}\n{% endif %}\n</body>\n</html>", :line nil, :template nil, :validation-errors ({:tag " ", :line nil})}
at clojure.core$ex_info.invokeStatic(core.clj:4617)
at clojure.core$ex_info.invoke(core.clj:4617)
at selmer.validator$validation_error.invokeStatic(validator.clj:33)
at selmer.validator$validation_error.invoke(validator.clj:23)
at selmer.validator$validation_error.invokeStatic(validator.clj:25)
at selmer.validator$validation_error.invoke(validator.clj:23)
at selmer.parser$render_file.invokeStatic(parser.clj:135)
at selmer.parser$render_file.doInvoke(parser.clj:114)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at dash_clojuredocs.core$example_template.invokeStatic(core.clj:53)
at dash_clojuredocs.core$example_template.invoke(core.clj:52)
at dash_clojuredocs.core$handle_content.invokeStatic(core.clj:78)
at dash_clojuredocs.core$handle_content.invoke(core.clj:77)
at dash_clojuredocs.core$map_source.invokeStatic(core.clj:110)
at dash_clojuredocs.core$map_source.invoke(core.clj:100)
at dash_clojuredocs.core$handle_source.invokeStatic(core.clj:139)
at dash_clojuredocs.core$handle_source.invoke(core.clj:128)
at dash_clojuredocs.core$crawl_clojuredocs.invokeStatic(core.clj:210)
at dash_clojuredocs.core$crawl_clojuredocs.invoke(core.clj:195)
at dash_clojuredocs.core$_main.invokeStatic(core.clj:214)
at dash_clojuredocs.core$_main.invoke(core.clj:212)
at clojure.lang.Var.invoke(Var.java:375)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.core$apply.invokeStatic(core.clj:646)
at clojure.main$main_opt.invokeStatic(main.clj:314)
at clojure.main$main_opt.invoke(main.clj:310)
at clojure.main$main.invokeStatic(main.clj:421)
at clojure.main$main.doInvoke(main.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
eg. /tmp/clojuredocs isn't going to work
babashka?
20-08-24 04:45:11 bamboo INFO [pegasus.queue:59] - :obtained http://clojuredocs.org/clojure.test.junit/suite-attrs
20-08-24 04:45:11 bamboo INFO [pegasus.defaults:253] - :num-visited 1394
20-08-24 04:45:11 bamboo INFO [pegasus.defaults:237] - :number-enqueued 1459
20-08-24 04:45:12 bamboo INFO [pegasus.defaults:253] - :num-visited 1395
20-08-24 04:45:12 bamboo INFO [pegasus.defaults:262] - :stopping-crawl!
20-08-24 04:45:12 bamboo INFO [pegasus.defaults:267] - :stop-items 2
20-08-24 04:45:12 bamboo INFO [pegasus.queue:51] - :default-delay 100
20-08-24 04:45:12 bamboo INFO [pegasus.queue:55] - :clojuredocs.org
20-08-24 04:45:12 bamboo INFO [pegasus.queue:59] - :obtained http://clojuredocs.org/clojure.test.junit/start-suite
20-08-24 04:45:12 bamboo INFO [pegasus.defaults:253] - :num-visited 1396
20-08-24 04:45:12 bamboo INFO [pegasus.defaults:262] - :stopping-crawl!
20-08-24 04:45:12 bamboo INFO [pegasus.defaults:267] - :stop-items 2
Exception in thread "main" java.lang.NumberFormatException: Invalid number: 5d221680e4b0ca44402ef77e
at clojure.lang.LispReader.readNumber(LispReader.java:330)
at clojure.lang.LispReader.read(LispReader.java:256)
at clojure.lang.LispReader.readDelimitedList(LispReader.java:1200)
at clojure.lang.LispReader$MapReader.invoke(LispReader.java:1158)
at clojure.lang.LispReader.read(LispReader.java:263)
at clojure.lang.LispReader.readDelimitedList(LispReader.java:1200)
at clojure.lang.LispReader$VectorReader.invoke(LispReader.java:1150)
at clojure.lang.LispReader.read(LispReader.java:263)
at clojure.lang.LispReader.readDelimitedList(LispReader.java:1200)
at clojure.lang.LispReader$MapReader.invoke(LispReader.java:1158)
at clojure.lang.LispReader.read(LispReader.java:263)
at clojure.lang.LispReader.read(LispReader.java:196)
at clojure.lang.LispReader.read(LispReader.java:185)
at clojure.lang.RT.readString(RT.java:1835)
at clojure.lang.RT.readString(RT.java:1830)
at clojure.core$read_string.invokeStatic(core.clj:3687)
at clojure.core$read_string.invoke(core.clj:3677)
at dash_clojuredocs.core$map_source.invokeStatic(core.clj:103)
at dash_clojuredocs.core$map_source.invoke(core.clj:101)
at dash_clojuredocs.core$handle_source.invokeStatic(core.clj:140)
at dash_clojuredocs.core$handle_source.invoke(core.clj:129)
at dash_clojuredocs.core$crawl_clojuredocs.invokeStatic(core.clj:211)
at dash_clojuredocs.core$crawl_clojuredocs.invoke(core.clj:196)
at dash_clojuredocs.core$_main.invokeStatic(core.clj:215)
at dash_clojuredocs.core$_main.invoke(core.clj:213)
at clojure.lang.Var.invoke(Var.java:375)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.core$apply.invokeStatic(core.clj:646)
at clojure.main$main_opt.invokeStatic(main.clj:314)
at clojure.main$main_opt.invoke(main.clj:310)
at clojure.main$main.invokeStatic(main.clj:421)
at clojure.main$main.doInvoke(main.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.