If you are authoring content for reference documentation items, you may find that the same content is usable in several places. There are several ways in which you can minimize duplication by re-using content associated with reference documentation items:
For .NET method or property overrides, use the content from the base member
If you have an overriden member for which the base documentation content is valid, you can tell Document! X and HelpStudio Bundle to use the base member content rather than duplicating the content.
To automatically use the base member content for all overriden members that don't have any specific content defined:
The overriden members without any specific content will automatically use the content from the base member when you build your project for output.
To use the base member content just for a specific overriden member:
For .NET documentation, automatically use the content from inherited members
For members inherited from types that are contained in assemblies within the project, the Document! X and HelpStudio Bundle will automatically use the content defined for the inherited member in the base type - that behavior is always enabled.
For members inherited from types that are contained in assemblies that are not included in the current project, including .NET Framework assemblies, the Document! X and HelpStudio Bundle can use the content (contained in xml comment files) from the member as defined in the base type by enabling a specific option in the Build Profile editor.
To enable using content from other assemblies for inherited members:
Use the Content From Content Item Type to use content from another item in the project
You can use the Content From content item type to specifically identify another item from which you would like to use the content when the generated documentation is built.
When the documentation is built (or when you Preview in the Content File editor) the content from the identified source item will be used.
Define a Project Property for short pieces of common content
If you have a short phrase or description that you want to make use of in several locations, you can define a Project Property to contain the text so that you can avoid duplication and are able to manage that text in one place.
To create a Project Property:
You can now reference the Project Property anywhere in the content editors by surrounding the Project Property name with %% symbols - e.g. %%MyProjectProperty%%. The placeholder will be replaced with the Project Property when you Preview a page or build the project.
Applying content to multiple items automatically by creating an AutoDoc file
See the AutoDoc Topic for more information on creating and using AutoDoc files.