mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-13 04:07:20 -04:00
1c329624a5
- Documentation has been converted to Sphinx. In particular, the generated API documentation has been constructed into a full blown "API Reference" section which organizes editorial documentation combined with generated docstrings. Cross linking between sections and API docs are vastly improved, a javascript-powered search feature is provided, and a full index of all classes, functions and members is provided.
9 lines
184 B
Python
9 lines
184 B
Python
import re
|
|
|
|
def striptags(text):
|
|
return re.compile(r'<[^>]*>').sub('', text)
|
|
|
|
def strip_toplevel_anchors(text):
|
|
return re.compile(r'\.html#.*-toplevel').sub('.html', text)
|
|
|