Functions | Variables
equations Namespace Reference

Functions

def clean (s)
 

Variables

 doc_folder = Path('doc')
 
 EQ_PATTERN = re.compile(r'!eq\[([^\]]+)\]')
 
 equation = m.group(1)
 
list existing_gifs = [p for p in doc_folder.iterdir() if p.suffix == '.gif']
 
 gifs_to_remove = set(existing_gifs)
 
 img = requests.get(url)
 
 img_filename = doc_folder/(clean(equation) + '.gif')
 
 m = EQ_PATTERN.search(s)
 
 s = f.read()
 
list src_files = [p for p in doc_folder.iterdir() if p.suffix == '.md']
 
string url = 'http://latex.codecogs.com/gif.download?'
 

Function Documentation

def equations.clean (   s)

Definition at line 7 of file equations.py.

Variable Documentation

equations.doc_folder = Path('doc')

Definition at line 20 of file equations.py.

equations.EQ_PATTERN = re.compile(r'!eq\[([^\]]+)\]')

Definition at line 19 of file equations.py.

equations.equation = m.group(1)

Definition at line 31 of file equations.py.

list equations.existing_gifs = [p for p in doc_folder.iterdir() if p.suffix == '.gif']

Definition at line 22 of file equations.py.

equations.gifs_to_remove = set(existing_gifs)

Definition at line 23 of file equations.py.

equations.img = requests.get(url)

Definition at line 36 of file equations.py.

equations.img_filename = doc_folder/(clean(equation) + '.gif')

Definition at line 32 of file equations.py.

equations.m = EQ_PATTERN.search(s)

Definition at line 29 of file equations.py.

equations.s = f.read()

Definition at line 28 of file equations.py.

list equations.src_files = [p for p in doc_folder.iterdir() if p.suffix == '.md']

Definition at line 21 of file equations.py.

string equations.url = 'http://latex.codecogs.com/gif.download?'

Definition at line 34 of file equations.py.



dlux_global_planner
Author(s):
autogenerated on Sun Jan 10 2021 04:08:52