Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use .rst as extension for all reStructured files we ship
  • Loading branch information
Roberto Alsina committed Mar 15, 2018
1 parent 26b7695 commit cf4c286
Show file tree
Hide file tree
Showing 32 changed files with 12 additions and 19 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/sphinx/conf.py
Expand Up @@ -34,7 +34,7 @@
templates_path = ['_templates']

# The suffix of source filenames.
source_suffix = '.txt'
source_suffix = '.rst'

# The encoding of source files.
# source_encoding = 'utf-8-sig'
Expand Down
1 change: 1 addition & 0 deletions docs/sphinx/creating-a-site.rst
1 change: 0 additions & 1 deletion docs/sphinx/creating-a-site.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/sphinx/creating-a-theme.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/sphinx/extending.txt

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion docs/sphinx/internals.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/sphinx/manual.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/sphinx/path_handlers.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/sphinx/social_buttons.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/sphinx/theming.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion nikola/data/samplesite/pages/creating-a-theme.rst
1 change: 1 addition & 0 deletions nikola/data/samplesite/pages/extending.rst
1 change: 0 additions & 1 deletion nikola/data/samplesite/pages/extending.txt

This file was deleted.

1 change: 1 addition & 0 deletions nikola/data/samplesite/pages/internals.rst
1 change: 0 additions & 1 deletion nikola/data/samplesite/pages/internals.txt

This file was deleted.

2 changes: 1 addition & 1 deletion nikola/data/samplesite/pages/manual.rst
1 change: 1 addition & 0 deletions nikola/data/samplesite/pages/path_handlers.rst
1 change: 0 additions & 1 deletion nikola/data/samplesite/pages/path_handlers.txt

This file was deleted.

1 change: 1 addition & 0 deletions nikola/data/samplesite/pages/social_buttons.rst
1 change: 0 additions & 1 deletion nikola/data/samplesite/pages/social_buttons.txt

This file was deleted.

2 changes: 1 addition & 1 deletion nikola/data/samplesite/pages/theming.rst
6 changes: 3 additions & 3 deletions scripts/release
Expand Up @@ -86,7 +86,7 @@ status 'Replacing versions in files...'
sed "s/version=.*/version='$version',/g" setup.py -i
sed "s/version = .*/version = '$version'/g" docs/sphinx/conf.py -i
sed "s/release = .*/release = '$version'/g" docs/sphinx/conf.py -i
sed "s/:Version: .*/:Version: $version/g" docs/*.txt docs/*.rst -i
sed "s/:Version: .*/:Version: $version/g" docs/*.rst -i
sed "s/:Version: .*/:Version: Nikola $version/g" docs/man/nikola.rst -i
sed "s/__version__ = .*/__version__ = '$version'/g" nikola/__init__.py -i
sed "s/version: .*/version: $version/g" snapcraft.yaml -i
Expand All @@ -101,7 +101,7 @@ rst2man.py docs/man/nikola.rst > docs/man/nikola.1
gzip -f docs/man/nikola.1

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

0 comments on commit cf4c286

Please sign in to comment.