1
0
mirror of https://github.com/bitwarden/help synced 2025-12-06 00:03:30 +00:00
* jekyll redirect from

* Organizations rev (#262)

* Organizations revisions initial commit.

* API doc updates

* Fix absolute link causing build failure.

* Add import to org article, and downstream order changes.

* Bitwarden 101 videos: 1st steps toward proliferating these throughout /help.

* Added 'Create Your Account' article, which references B101 Videos.

* About SSO redirect & promote importing for orgs up the list

* Create Org FAQs & trim Feature FAQs accordingly.

* Image for Org FAQs

* Move 'About the Business Portal' to Orgs category, and re-order accordingly.

* Final edits.

* Dchoi/bootstrap upgrade (#264)

* bootstrap 4 upgrade and cleanup update gulp tasks

* bootstrap package updates

* renaming file convention

* general outline of help outline

* bitwarden help cleanup

* article cleanup

* article general styling complete

* bootstrap help page upgrades

* sidebar updates

* Dchoi/bootstrap upgrade (#267)

* bootstrap 4 upgrade and cleanup update gulp tasks

* bootstrap package updates

* renaming file convention

* general outline of help outline

* bitwarden help cleanup

* article cleanup

* article general styling complete

* bootstrap help page upgrades

* sidebar updates

* toc dynamic and more updates

* fix callout conditions

* sidebar collapse functionality added

* sidebar header toggle functionality

* sidebar article fixes

* Update sidebar.html

Fix sidebar Release Notes link.

* Update releasenotes.md

Remove unnecessary category tag.

* Delete release-notes.md

Remove unnecessary category.

* Update why-choose-bitwarden-for-your-team.md

Test table image differentiation

* Update why-choose-bitwarden-for-your-team.md

Second image differentiation test

* removed links from category breadcrumb and replaced with badges

Co-authored-by: fred_the_tech_writer <69817454+fschillingeriv@users.noreply.github.com>
This commit is contained in:
David Choi
2020-11-13 14:23:00 -08:00
committed by GitHub
parent ad353e2cf6
commit 80a0b17ac6
115 changed files with 5096 additions and 2674 deletions

View File

@@ -1,27 +0,0 @@
# Source: https://stackoverflow.com/questions/19169849/how-to-get-markdown-processed-content-in-jekyll-tag-plugin
module Jekyll
module Tags
class AlertTag < Liquid::Block
def initialize(tag_name, type, tokens)
super
type.strip!
if %w(info danger warning).include?(type)
@type = type
else
puts "#{type} alert not supported. Defaulting to info"
@type = "info"
end
end
def render(context)
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
output = converter.convert(super(context))
"<div class=\"alert alert-#{@type}\">#{output}</div>"
end
end
end
end
Liquid::Template.register_tag('alert', Jekyll::Tags::AlertTag)

View File

@@ -6,11 +6,22 @@ module Jekyll
def initialize(tag_name, type, tokens)
super
type.strip!
if %w(info danger warning primary success default).include?(type)
if %w(info warning success).include?(type)
@type = type
else
puts "#{type} callout not supported. Defaulting to default"
@type = "default"
puts "#{type} callout not supported. Defaulting to info"
@type = "info"
end
if @type == 'warning'
@fa = 'warning'
@header = 'Warning'
elsif @type =='success'
@fa = 'lightbulb-o'
@header = 'Tip'
else
@fa = 'info-circle'
@header = 'Note'
end
end
@@ -18,7 +29,11 @@ module Jekyll
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
output = converter.convert(super(context))
"<div class=\"callout callout-#{@type}\">#{output}</div>"
"<div class=\"callout callout-#{@type}\">
<h5><i class=\"fa fa-#{@fa}\"></i> #{@header}</h5>
#{output}
</div>"
end
end
end

View File

@@ -1,17 +0,0 @@
module Jekyll
module Tags
class NoteTag < Liquid::Block
def render(context)
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
output = converter.convert(super(context))
"<div class=\"callout callout-info\">
<h3><i class=\"fa fa-info-circle\"></i> Note</h3>
#{output}
</div>"
end
end
end
end
Liquid::Template.register_tag('note', Jekyll::Tags::NoteTag)

View File

@@ -1,17 +0,0 @@
module Jekyll
module Tags
class TipTag < Liquid::Block
def render(context)
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
output = converter.convert(super(context))
"<div class=\"callout callout-success\">
<h3><i class=\"fa fa-lightbulb-o\"></i> Tip</h3>
#{output}
</div>"
end
end
end
end
Liquid::Template.register_tag('tip', Jekyll::Tags::TipTag)

View File

@@ -1,17 +0,0 @@
module Jekyll
module Tags
class WarningTag < Liquid::Block
def render(context)
site = context.registers[:site]
converter = site.find_converter_instance(::Jekyll::Converters::Markdown)
output = converter.convert(super(context))
"<div class=\"callout callout-warning\">
<h3><i class=\"fa fa-warning\"></i> Warning</h3>
#{output}
</div>"
end
end
end
end
Liquid::Template.register_tag('warning', Jekyll::Tags::WarningTag)