All checks were successful
Build and Deploy Documentation / build-and-deploy (push) Successful in 18s
20 lines
637 B
Python
20 lines
637 B
Python
def define_env(env):
|
|
"""
|
|
This is the hook function for the variables, macros and filters.
|
|
"""
|
|
|
|
@env.macro
|
|
def ScheduleTableHead():
|
|
code = '''| <div style="width:110px">**Time**</div> | **Machine State** | **Description** | <div style="width:90px"> **Contact**</div> |
|
|
| :- | :- |:- |:- |'''
|
|
return code
|
|
|
|
@env.macro
|
|
def ElogOP(nr):
|
|
code = '[OP-Log {:}](https://elog-gfa.psi.ch/SLS/{:})'.format(nr, nr)
|
|
return code
|
|
|
|
@env.macro
|
|
def ElogDEV(nr):
|
|
code = '[Dev-Log {:}](https://elog-gfa.psi.ch/SLS+Development/{:})'.format(nr, nr)
|
|
return code |