From 6547d45b817fbb20333878d189c4def26cdfa819 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Tue, 23 Apr 2019 11:07:29 +0200 Subject: mono-docs: Use full name in page title Reference page titles are now "Class Efl.Ui.Win" instead of "Class Win". And also remove Namespace and Assembly sections. Namespace is redundant since we use fully-qualified names everywhere. Assembly is useless since we build the docs from the source so this entry is always "temp.dll". --- .../default_efl/partials/class.header.tmpl.partial | 2 - doc/docfx/default_efl/partials/title.tmpl.partial | 43 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 doc/docfx/default_efl/partials/title.tmpl.partial (limited to 'doc') diff --git a/doc/docfx/default_efl/partials/class.header.tmpl.partial b/doc/docfx/default_efl/partials/class.header.tmpl.partial index 3bdf956fc1..561d929da1 100644 --- a/doc/docfx/default_efl/partials/class.header.tmpl.partial +++ b/doc/docfx/default_efl/partials/class.header.tmpl.partial @@ -19,8 +19,6 @@ {{/inClass}} {{#inheritedMembers.0}} -
{{__global.namespace}}: {{{namespace.specName.0.value}}}
-
{{__global.assembly}}: {{assemblies.0}}.dll
{{__global.syntax}}
{{syntax.content.0.value}}
diff --git a/doc/docfx/default_efl/partials/title.tmpl.partial b/doc/docfx/default_efl/partials/title.tmpl.partial new file mode 100644 index 0000000000..186d9171d3 --- /dev/null +++ b/doc/docfx/default_efl/partials/title.tmpl.partial @@ -0,0 +1,43 @@ +{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} +{{#isNamespace}} +Namespace {{fullName.0.value}} +{{/isNamespace}} +{{#inClass}} +Class {{fullName.0.value}} +{{/inClass}} +{{#inStruct}} +Struct {{fullName.0.value}} +{{/inStruct}} +{{#inInterface}} +Interface {{fullName.0.value}} +{{/inInterface}} +{{#inEnum}} +Enum {{fullName.0.value}} +{{/inEnum}} +{{#inDelegate}} +Delegate {{fullName.0.value}} +{{/inDelegate}} +{{#inConstructor}} +Constructor {{fullName.0.value}} +{{/inConstructor}} +{{#inField}} +Field {{fullName.0.value}} +{{/inField}} +{{#inProperty}} +Property {{fullName.0.value}} +{{/inProperty}} +{{#inMethod}} +Method {{fullName.0.value}} +{{/inMethod}} +{{#inEvent}} +Event {{fullName.0.value}} +{{/inEvent}} +{{#inOperator}} +Operator {{fullName.0.value}} +{{/inOperator}} +{{#inEii}} +Explict Interface Implementation {{fullName.0.value}} +{{/inEii}} +{{#inPackage}} +Package {{fullName.0.value}} +{{/inPackage}} -- cgit v1.2.1