Skip to content

Commit cf4c286

Browse files
author
Roberto Alsina
committedMar 15, 2018
Use .rst as extension for all reStructured files we ship
1 parent 26b7695 commit cf4c286

32 files changed

+12
-19
lines changed
 
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎docs/manual.txt ‎docs/manual.rst

File renamed without changes.
File renamed without changes.
File renamed without changes.

‎docs/sphinx/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
templates_path = ['_templates']
3535

3636
# The suffix of source filenames.
37-
source_suffix = '.txt'
37+
source_suffix = '.rst'
3838

3939
# The encoding of source files.
4040
# source_encoding = 'utf-8-sig'

‎docs/sphinx/creating-a-site.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../creating-a-site.rst

‎docs/sphinx/creating-a-site.txt

-1
This file was deleted.

‎docs/sphinx/creating-a-theme.txt

-1
This file was deleted.

‎docs/sphinx/extending.txt

-1
This file was deleted.
File renamed without changes.

‎docs/sphinx/internals.txt

-1
This file was deleted.

‎docs/sphinx/manual.txt

-1
This file was deleted.

‎docs/sphinx/path_handlers.txt

-1
This file was deleted.

‎docs/sphinx/social_buttons.txt

-1
This file was deleted.

‎docs/sphinx/theming.txt

-1
This file was deleted.

‎docs/theming.txt ‎docs/theming.rst

File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../docs/creating-a-theme.txt
1+
../../../../docs/creating-a-theme.rst
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../docs/extending.rst

‎nikola/data/samplesite/pages/extending.txt

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../docs/internals.rst

‎nikola/data/samplesite/pages/internals.txt

-1
This file was deleted.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../docs/manual.txt
1+
../../../../docs/manual.rst
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../docs/path_handlers.rst

‎nikola/data/samplesite/pages/path_handlers.txt

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../docs/social_buttons.rst

‎nikola/data/samplesite/pages/social_buttons.txt

-1
This file was deleted.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../docs/theming.txt
1+
../../../../docs/theming.rst

‎scripts/release

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ status 'Replacing versions in files...'
8686
sed "s/version=.*/version='$version',/g" setup.py -i
8787
sed "s/version = .*/version = '$version'/g" docs/sphinx/conf.py -i
8888
sed "s/release = .*/release = '$version'/g" docs/sphinx/conf.py -i
89-
sed "s/:Version: .*/:Version: $version/g" docs/*.txt docs/*.rst -i
89+
sed "s/:Version: .*/:Version: $version/g" docs/*.rst -i
9090
sed "s/:Version: .*/:Version: Nikola $version/g" docs/man/nikola.rst -i
9191
sed "s/__version__ = .*/__version__ = '$version'/g" nikola/__init__.py -i
9292
sed "s/version: .*/version: $version/g" snapcraft.yaml -i
@@ -101,7 +101,7 @@ rst2man.py docs/man/nikola.rst > docs/man/nikola.1
101101
gzip -f docs/man/nikola.1
102102

103103
status 'Updating path handler documentation...'
104-
scripts/document_path_handlers.py > docs/path_handlers.txt
104+
scripts/document_path_handlers.py > docs/path_handlers.rst
105105
status 'Updating Jinja2 templates...'
106106
scripts/jinjify.py
107107
status 'Updating npm assets...'
@@ -112,7 +112,7 @@ status 'Updating website (conf.py and docs)...'
112112
python -m nikola default_config > ../nikola-site/listings/conf.py
113113
cp AUTHORS.txt CHANGES.txt ../nikola-site/stories
114114
cp docs/*.* ../nikola-site/stories
115-
sed 's/Nikola v[0-9\.A_Za-z-]\{1,\}/Nikola'" v$version/g" ../nikola-site/stories/conf.txt -i
115+
sed 's/Nikola v[0-9\.A_Za-z-]\{1,\}/Nikola'" v$version/g" ../nikola-site/stories/conf.rst -i
116116
status 'Generating locales...'
117117
scripts/import_po.py
118118
status 'List of locales:'

0 commit comments

Comments
 (0)
Please sign in to comment.