mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Glossary: Various small fixes and improvements
Add link to the glossary from each definition Fix missing BIP37 link Fix searchbox width on mobiles Apply more consistent margin and padding for the searchbox Use H3 titles in the glossary_entry layout for better readability Always use HTML classes for CSS stylesheets Fix one typo in glossary.rb
This commit is contained in:
parent
af29f6855c
commit
a790f353d0
9 changed files with 19 additions and 16 deletions
|
@ -113,7 +113,7 @@ module Jekyll
|
|||
|
||||
glossary_dir='_data/glossary/en'
|
||||
|
||||
#generate each release based on templates
|
||||
#Generate each definition page based on templates
|
||||
Dir.foreach(glossary_dir) do |file|
|
||||
next if file == '.' or file == '..'
|
||||
lang = 'en'
|
||||
|
@ -122,7 +122,7 @@ module Jekyll
|
|||
output_directory = lang + '/glossary/'
|
||||
site.pages << GlossaryPage.new(site, site.source, lang, glossary_dir, src, output_directory)
|
||||
end
|
||||
#TODO releases are only generated for English language,
|
||||
#TODO definition pages are only generated for English language,
|
||||
#but they could also be translated at some point. They would however
|
||||
#need to fallback to English when no translation is available.
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue