mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Merge pull request #4832 from github/docs/add-favicon
[docs] Add GitHub favicon to CodeQL docs
This commit is contained in:
@@ -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']
|
||||
|
||||
BIN
docs/codeql/images/site/favicon.ico
Normal file
BIN
docs/codeql/images/site/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user