Belle II Software  light-2205-abys
StatisticsVisitor Class Reference

Public Member Functions

def __init__ (self)
 
def read_rst_file (self, Path path)
 
def walk_directory (self, Path path)
 

Public Attributes

 statistics
 

Static Public Attributes

 regexes
 

Detailed Description

Definition at line 36 of file online_book_statistics.py.

Member Data Documentation

◆ regexes

regexes
static
Initial value:
= dict(
code_inclusions=re.compile("(code-block\\s*::)|(literalinclude\\s*::)"),
hints=re.compile(":class:.*hint"),
solutions=re.compile(":class:.*solution"),
exercises=re.compile(":class:.*exercise"),
overview_boxes=re.compile(":class:.*overview"),
key_points=re.compile(":class:.*key-points"),
figures=re.compile("figure\\s*::")
)

Definition at line 38 of file online_book_statistics.py.


The documentation for this class was generated from the following file: