Skip to content

Commit

Permalink
Merge pull request #4 from ellemenno/v3.0.0
Browse files Browse the repository at this point in the history
lsdoc updates
  • Loading branch information
pixeldroid committed Oct 25, 2017
2 parents f634fc1 + eda227a commit 7e5a53a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_includes/module_has_link.liquid
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- comment -%}
module_has_link
checks site.collections[site.module_root].docs for doc with url attribute that matches include.module_url
checks documents in the site.module_root collection for a url attribute that matches include.module_url
params:
module_url="/api/foo/bar/Baz"
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/parameter_signature.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ params:
{%- capture ml -%}{% include module_linker.liquid module=p.type base_url=include.base_url module_root=include.module_root %}{%- endcapture -%}{{- ml | rstrip -}}
{%- endif -%}
{%- if p.default_value -%}=
{%- assign isString = false -%}{%- if p.type == 'system.String' -%}{%- assign isString = true -%}{%- endif -%}
{%- assign isString = false -%}{%- if p.type == 'system.String' and p.default_value != 'null' -%}{%- assign isString = true -%}{%- endif -%}
{%- if isString -%}'{%- endif -%}{{ p.default_value }}{%- if isString -%}'{%- endif -%}
{%- endif -%}
{%- endif -%}

0 comments on commit 7e5a53a

Please sign in to comment.