Skip to content

Commit

Permalink
[#140] Remove useless files from translations
Browse files Browse the repository at this point in the history
  • Loading branch information
khusnetdinov committed Feb 7, 2019
1 parent 07147c8 commit ce5cab6
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 8 deletions.
24 changes: 21 additions & 3 deletions _config.production.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
encoding: utf-8
baseurl: "/"

url: "https://betterdocs.info"
url: https://betterdocs.info

baseurl: /

collections:
pages:
Expand Down Expand Up @@ -53,7 +54,24 @@ locales:
- {locale: vi, name: Vietnamese, flag: vi}

timezone: Europe/Moscow
exclude_from_localizations: ['javascript', 'images', 'css']
exclude_from_localizations: [
'assets',
'css',
'fonts',
'images',
'javascripts',
'CODE_OF_CONDUCT.md',
'CONTRIBUTING.md',
'Procfile',
'Rakefile',
'README.md',
'config.ru',
'favicon.ico',
'feed.xml',
'language.yml',
'package.json',
'static.json',
]

markdown: kramdown
theme: minima
Expand Down
24 changes: 21 additions & 3 deletions _config.staging.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
encoding: utf-8
baseurl: "/"

url: 'https://betterdocs.herokuapp.com'
url: https://betterdocs.herokuapp.com

baseurl: /

collections:
pages:
Expand Down Expand Up @@ -53,7 +54,24 @@ locales:
- {locale: vi, name: Vietnamese, flag: vi}

timezone: Europe/Moscow
exclude_from_localizations: ['javascript', 'images', 'css']
exclude_from_localizations: [
'assets',
'css',
'fonts',
'images',
'javascripts',
'CODE_OF_CONDUCT.md',
'CONTRIBUTING.md',
'Procfile',
'Rakefile',
'README.md',
'config.ru',
'favicon.ico',
'feed.xml',
'language.yml',
'package.json',
'static.json',
]

markdown: kramdown
theme: minima
Expand Down
22 changes: 20 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
encoding: utf-8
baseurl: '/'

url: localost:4000

baseurl: /

collections:
pages:
output: true
Expand Down Expand Up @@ -53,7 +54,24 @@ locales:
- {locale: vi, name: Vietnamese, flag: vi}

timezone: Europe/Moscow
exclude_from_localizations: ['javascript', 'images', 'css']
exclude_from_localizations: [
'assets',
'css',
'fonts',
'images',
'javascripts',
'CODE_OF_CONDUCT.md',
'CONTRIBUTING.md',
'Procfile',
'Rakefile',
'README.md',
'config.ru',
'favicon.ico',
'feed.xml',
'language.yml',
'package.json',
'static.json',
]

markdown: kramdown
theme: minima
Expand Down

0 comments on commit ce5cab6

Please sign in to comment.