Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,16 @@ google_analytics: UA-111455-1
google_custom_search: '001595215763381649090:dzdv3_di-fm'

# Available for names:
platforms: ["UI for ASP.NET AJAX", "UI for ASP.NET MVC", "UI for WPF", "UI for WinForms", "UI for Silverlight"]
platforms: ["UI for ASP.NET AJAX", "UI for ASP.NET MVC", "UI for WPF", "UI for WinForms", "UI for Silverlight", "UI for Xamarin"]
# in articles use as shown below:
# platforms: ajax, mvc, wpf, winforms, silverlight
# platforms: ajax, mvc, wpf, winforms, silverlight, xamarin

# Folders not supporting Silverlight:
non-sl-folders: ["radwordsprocessing", "radspreadstreamprocessing"]

# Folders not supporting Xamarin:
non-xamarin-folders: ["radwordsprocessing", "radspreadprocessing", "radpdfprocessing"]

## Do not edit below this line
safe: false
markdown: MarkdownProcessor
Expand Down
12 changes: 10 additions & 2 deletions _plugins/platforms_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ def render(context)
platformNames = context.registers[:site].config["platforms"].clone
pageSuiteNames = page["platforms"]
nonSlFolders = context.registers[:site].config["non-sl-folders"]
nonXamarinFolders = context.registers[:site].config["non-xamarin-folders"]

result = String.new

if (folderNames & ["libraries"]).any?
Expand All @@ -21,8 +23,14 @@ def render(context)
platformNames = platformNames.select {|suite| splittedNames.any? {|name| suite.downcase.include?(name)}}
end

if pageSuiteNames.nil? && (folderNames & nonSlFolders).any?
platformNames.reject!{|suite| suite.downcase.include?("silverlight")}
if pageSuiteNames.nil?
if (folderNames & nonSlFolders).any?
platformNames.reject!{|suite| suite.downcase.include?("silverlight")}
end

if (folderNames & nonXamarinFolders).any?
platformNames.reject!{|suite| suite.downcase.include?("xamarin")}
end
end

platformNames.each_with_index do |suite, index|
Expand Down
2 changes: 1 addition & 1 deletion introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Telerik Document Processing features the following components:

## Licensing

Telerik Document Processing is available as part of DevCraft, UI for ASP.NET AJAX, UI for ASP.NET MVC, UI for WPF, UI for WinForms and UI for Silverlight. The libraries are subject of the license under which you've obtained the assemblies.
Telerik Document Processing is available as part of DevCraft, UI for ASP.NET AJAX, UI for ASP.NET MVC, UI for WPF, UI for WinForms and UI for Silverlight. A part of the libraries is included in UI for Xamarin as well. The libraries are subject of the license under which you've obtained the assemblies.

Learn more on how to start using Telerik Document Processing in the [Installing on Your Computer]({%slug installation-installing-on-your-computer%}) topic.