##// END OF EJS Templates
various spelling and capitalization fixes
MinRK -
Show More
@@ -1,3 +1,3 b''
1 See COPYING.txt distributed with iPython.
1 See COPYING.txt distributed with IPython.
2
2
3 #TODO, give NBCONVERT its own license No newline at end of file
3 #TODO, give NBCONVERT its own license
@@ -1,5 +1,5 b''
1 """
1 """
2 Exporter that will export your iPynb to Markdown.
2 Exporter that will export your ipynb to Markdown.
3 """
3 """
4 #-----------------------------------------------------------------------------
4 #-----------------------------------------------------------------------------
5 # Copyright (c) 2013, the IPython Development Team.
5 # Copyright (c) 2013, the IPython Development Team.
@@ -1,5 +1,5 b''
1 """
1 """
2 Module that re-groups transformer that would be applied to iPyNB files
2 Module that re-groups transformer that would be applied to ipynb files
3 before going through the templating machinery.
3 before going through the templating machinery.
4
4
5 It exposes a convenient class to inherit from to access configurability.
5 It exposes a convenient class to inherit from to access configurability.
@@ -35,7 +35,7 b' class ConfigurableTransformer(GlobalConfigurable):'
35 using c.SubClassName.atribute=value
35 using c.SubClassName.atribute=value
36
36
37 you can overwrite cell_transform to apply a transformation independently on each cell
37 you can overwrite cell_transform to apply a transformation independently on each cell
38 or __call__ if you prefer your own logic. See orresponding docstring for informations.
38 or __call__ if you prefer your own logic. See corresponding docstring for informations.
39 """
39 """
40
40
41 def __init__(self, config=None, **kw):
41 def __init__(self, config=None, **kw):
@@ -75,14 +75,14 b' class CSSHtmlHeaderTransformer(ActivatableTransformer):'
75
75
76 def _regen_header(self):
76 def _regen_header(self):
77 """
77 """
78 Fills self.header with lines of CSS extracted from iPython
78 Fills self.header with lines of CSS extracted from IPython
79 and Pygments.
79 and Pygments.
80 """
80 """
81
81
82 #Clear existing header.
82 #Clear existing header.
83 header = []
83 header = []
84
84
85 #Construct path to iPy CSS
85 #Construct path to IPy CSS
86 sheet_filename = os.path.join(path.get_ipython_package_dir(),
86 sheet_filename = os.path.join(path.get_ipython_package_dir(),
87 'html', 'static', 'style', 'style.min.css')
87 'html', 'static', 'style', 'style.min.css')
88
88
@@ -93,7 +93,7 b' class CSSHtmlHeaderTransformer(ActivatableTransformer):'
93 header.append(file_text)
93 header.append(file_text)
94 except IOError:
94 except IOError:
95
95
96 # New version of iPython with style.min.css, pass
96 # New version of IPython with style.min.css, pass
97 pass
97 pass
98
98
99 #Add pygments CSS
99 #Add pygments CSS
@@ -226,7 +226,7 b' class SphinxTransformer(ActivatableTransformer):'
226
226
227 def _prompt_output_style(self):
227 def _prompt_output_style(self):
228 """
228 """
229 Prompts the user to pick an iPython output style.
229 Prompts the user to pick an IPython output style.
230 """
230 """
231
231
232 # Dictionary of available output styles
232 # Dictionary of available output styles
General Comments 0
You need to be logged in to leave comments. Login now