#! /usr/bin/env python # -*- coding: utf-8 -*- # =========================================================================== # Copyright (c) 2010 Barend Gehrels, Amsterdam, the Netherlands. # # Use, modification and distribution is subject to the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt)9 # ============================================================================ import sys args = sys.argv[1:] if len(args) != 1: raise SystemExit("Usage: doxygen_enhance ") # 1) set variable for doxygen_contents to be posted file_in = open(args[0], 'r') doxygen_contents = file_in.read() doxygen_contents = doxygen_contents.replace('Modules', 'Function overview') doxygen_contents = doxygen_contents.replace('Related Pages', 'Main pages') doxygen_contents = doxygen_contents.replace('Main Page', 'Introduction') doxygen_contents = doxygen_contents.replace('
  • Namespaces
  • ', '') doxygen_contents = doxygen_contents.replace('

    Modules

    Here is a list of all modules: