1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Launchpad's API docs
====================
It is generated by the zope.app.apidoc package, and can be seen on
apidoc.launchpad.dev. (Note that this is just a smoke test)
>>> browser.open('http://apidoc.launchpad.dev')
>>> print extract_text(browser.contents)
Zope 3 API Documentation
It uses frames, so here we open the URL of the main frame manually.
>>> browser.open('http://apidoc.launchpad.dev/++apidoc++/contents.html')
>>> print extract_text(browser.contents)
Zope 3 apidoc...
Welcome to the Zope 3 API documentation tool...
Code Browser...
Interfaces...
And here we open the page of one of our interfaces, just to make sure they
render fine.
>>> browser.open('http://apidoc.launchpad.dev/++apidoc++/Interface/'
... 'lp.code.interfaces.branchcollection.IAllBranches/'
... 'index.html')
|