diff --git a/docs/css/docs.css b/docs/css/docs.css index 1bcea661..09745ad5 100644 --- a/docs/css/docs.css +++ b/docs/css/docs.css @@ -11,7 +11,7 @@ a { } pre { - font-family: 'Space Mono', monospace; + font-family: 'Source Code Pro', monospace; padding: 8px; color: #567; background: #f0f4f8; diff --git a/docs/docs_writer.py b/docs/docs_writer.py index 4e35718e..5a804fc5 100644 --- a/docs/docs_writer.py +++ b/docs/docs_writer.py @@ -42,7 +42,7 @@ class DocsWriter: self.write(relative_css_path) self.write('''" rel="stylesheet"> - +
''') diff --git a/docs/generate.py b/docs/generate.py index fa1f6b8c..6ec6a99c 100644 --- a/docs/generate.py +++ b/docs/generate.py @@ -295,14 +295,12 @@ def generate_documentation(scheme_file): else: docs.write_text('This type has %d constructors available.' % len(constructors)) - docs.begin_table(1) + docs.begin_table(2) for constructor in constructors: # Constructor full name link = get_create_path_for(constructor) link = get_relative_path(link, relative_to=filename) - docs.add_row(get_class_name(constructor), - link=link, - align='center') + docs.add_row(get_class_name(constructor), link=link) docs.end_table() docs.write_title('Methods returning this type', level=3) @@ -314,13 +312,11 @@ def generate_documentation(scheme_file): else: docs.write_text('The following %d methods return this type as a result.' % len(functions)) - docs.begin_table(1) + docs.begin_table(2) for function in functions: link = get_create_path_for(function) link = get_relative_path(link, relative_to=filename) - docs.add_row(get_class_name(function), - link=link, - align='center') + docs.add_row(get_class_name(function), link=link) docs.end_table() docs.end_body()