Skip to content
Snippets Groups Projects
  • Karl Fogel's avatar
    ef921a12
    Simplify generation of YAML block comment in PDF · ef921a12
    Karl Fogel authored
    Since the OTS_DOCTOOLS_DIR environment variable is required now, use
    that instead of Python's '__file__' variable to get values for the
    YAML block comment that we put at the end of each PDF.
    
    Note that the two other uses of '__file__' in this code base, in
    'pipeline/pipeline.py' and 'pipeline/plugins/65_bugs.py', stay as they
    are: for what they're doing, '__file__' is appropriate.
    ef921a12
    History
    Simplify generation of YAML block comment in PDF
    Karl Fogel authored
    Since the OTS_DOCTOOLS_DIR environment variable is required now, use
    that instead of Python's '__file__' variable to get values for the
    YAML block comment that we put at the end of each PDF.
    
    Note that the two other uses of '__file__' in this code base, in
    'pipeline/pipeline.py' and 'pipeline/plugins/65_bugs.py', stay as they
    are: for what they're doing, '__file__' is appropriate.