docs: def _clean_path(path):
          """Create a fully fissile absolute system path with no symbolic links and environment variables"""
          path = path.replace('"', '')
          path = path.replace("'", '')
          # Replace ~ with /home/user
          path = os.path.expanduser(path)
          # Replace environment variables
          path = os.path.expandvars(path)
          # If the path is relative, assume it is relative to the config file directory
          if not os.path.isabs(path):
              path = os.path.join(config.global_config.path, path)
          # Clean path, e.g. replace /./ with /
          path = os.path.abspath(path)
          # Eliminate symbolic links
          path = os.path.realpath(path)
          return path