Skip to content

Commit 22fa7c8

Browse files
beaucarnesThibaut
authored andcommitted
Fix header alignment in Python (issue #808)
1 parent 68bd35c commit 22fa7c8

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

assets/stylesheets/application-dark.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
'pages/phpunit',
8080
'pages/postgres',
8181
'pages/pug',
82+
'pages/python',
8283
'pages/ramda',
8384
'pages/rdoc',
8485
'pages/react_native',

assets/stylesheets/application.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
'pages/phpunit',
8080
'pages/postgres',
8181
'pages/pug',
82+
'pages/python',
8283
'pages/ramda',
8384
'pages/rdoc',
8485
'pages/react_native',

assets/stylesheets/pages/_python.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
._python {
2+
@extend %sphinx;
3+
4+
h2 > a, h3 > a, dt[id] > a.external, dt[id] > a.internal { float: none !important; }
5+
}
6+

lib/docs/scrapers/python.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Docs
22
class Python < FileScraper
3-
self.type = 'sphinx'
3+
self.type = 'python'
44
self.root_path = 'library/index.html'
55
self.links = {
66
home: 'https://www.python.org/',

0 commit comments

Comments
 (0)