arne-cl / rstviewer Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED, please use my fork of rstWeb instead.
License: Other
DEPRECATED, please use my fork of rstWeb instead.
License: Other
It seems that both Firefox and Chrome don't tell you the total
height and width of a page you would need to always, reliably
make screenshots of the complete website:
mozilla/geckodriver#570
This file can't be parsed:
<rst>
<header>
<relations>
<rel name="Contrast" type="rst"/>
</relations>
</header>
<body>
<segment id="3" parent="5" relname="Contrast">Although she hated them ,</segment>
<segment id="5" parent="1" relname="span">Alice accepted the offer .</segment>
<group id="1" type="span"/>
</body>
</rst>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 631, in respond
self._do_respond(path_info)
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 690, in _do_respond
response.body = self.handler()
File "/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 221, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "start_local_docker.py", line 53, in structure
return structure_main("local","3",'local',**kwargs)
File "/opt/rstweb/structure.py", line 123, in structure_main
def_multirel = get_def_rel("multinuc",current_doc, current_project)
File "/opt/rstweb/modules/rstweb_sql.py", line 233, in get_def_rel
return rel_row[0][0]
IndexError: list index out of range
... but this file can:
<rst>
<header>
<relations>
<rel name="concession" type="rst" />
<rel name="sequence" type="multinuc" />
</relations>
</header>
<body>
<segment id="4" parent="5" relname="concession">Although they didn't like it,</segment>
<segment id="5" parent="12" relname="span">they accepted the offer.</segment>
<group id="12" type="span" />
</body>
</rst>
Both files can be parsed by RSTTool.
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.