Merge pull request #4832 from github/docs/add-favicon

[docs] Add GitHub favicon to CodeQL docs
This commit is contained in:
Aditya Sharad
2020-12-16 13:29:32 -08:00
committed by GitHub
5 changed files with 7 additions and 0 deletions

View File

@@ -94,5 +94,7 @@ html_static_path = ['_static']
# Copy the static landing page for codeql.github.com/docs when building this sphinx project
html_extra_path = ['index.html']
html_favicon = 'images/site/favicon.ico'
# Exclude these paths from being built by Sphinx
exclude_patterns = ['vale*', '_static', '_templates', 'reusables', 'images', 'support', 'ql-training', 'query-help', '_build', '*.py*', 'README.rst']

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -5,6 +5,7 @@
<title>CodeQL documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="_static/primer.css" />
<link rel="shortcut icon" href="_static/favicon.ico"/>
</head>
<body>

View File

@@ -54,6 +54,8 @@ templates_path = ['../_templates']
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['../_static']
html_favicon = '../images/site/favicon.ico'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.

View File

@@ -71,6 +71,8 @@ html_theme_options = {'font_size': '16px',
'nosidebar':True,
}
html_favicon = '../images/site/favicon.ico'
# -- Currently unused, but potentially useful, configs--------------------------------------
# Add any paths that contain custom themes here, relative to this directory.