Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
972c9e85
Commit
972c9e85
authored
Oct 19, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rely on the style sheet more for the distutils markup.
parent
20a175a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
Doc/html/style.css
Doc/html/style.css
+13
-0
Doc/perl/distutils.perl
Doc/perl/distutils.perl
+5
-5
No files found.
Doc/html/style.css
View file @
972c9e85
...
...
@@ -150,6 +150,19 @@ div.note .label { margin-right: 0.5em;
.availability
.platform
{
font-weight
:
bold
;
}
/*
* Additional styles for the distutils package.
*/
.du-command
{
font-family
:
monospace
;
}
.du-option
{
font-family
:
avantgarde
,
sans-serif
;
}
.du-filevar
{
font-family
:
avantgarde
,
sans-serif
;
font-style
:
italic
;
}
.du-xxx
:before
{
content
:
"** "
;
font-weight
:
bold
;
}
.du-xxx
:after
{
content
:
" **"
;
font-weight
:
bold
;
}
/*
* Some specialization for printed output.
*/
...
...
Doc/perl/distutils.perl
View file @
972c9e85
...
...
@@ -3,19 +3,19 @@
package
main
;
sub
do_cmd_command
{
return
use_wrappers
(@
_
[
0
],
'<code>'
,
'</code>'
);
return
use_wrappers
(@
_
[
0
],
'<code
class="du-command"
>'
,
'</code>'
);
}
sub
do_cmd_option
{
return
use_wrappers
(@
_
[
0
],
'<
font face="sans-serif">'
,
'</font
>'
);
return
use_wrappers
(@
_
[
0
],
'<
span class="du-option">'
,
'</span
>'
);
}
sub
do_cmd_filevar
{
return
use_wrappers
(@
_
[
0
],
'<
font face="sans-serif"><i>'
,
'</i></font
>'
);
return
use_wrappers
(@
_
[
0
],
'<
span class="du-filevar">'
,
'</span
>'
);
}
sub
do_cmd_XXX
{
return
use_wrappers
(@
_
[
0
],
'<b
>** '
,
' **
</b>'
);
return
use_wrappers
(@
_
[
0
],
'<b
class="du-xxx">'
,
'
</b>'
);
}
1
;
1
;
#
Bad
Perl
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment