-
Notifications
You must be signed in to change notification settings - Fork 15
Custom Templates with links to download the product
The templates like the ones for downloading the Trial come from the 'docs-seed' branch. They are located at https://github.com/telerik/docs-seed/tree/master/_includes and are merged automatically with our docs branch during the build. We may override them by:
-
adding a custom template with the same name to the folder '_rs_includes' - https://github.com/telerik/report-server-docs/tree/master/_rs_includes. For example, the template 'cta-panel-small.html' is responsible for the following message in most of our document articles:
-
adding the copy statement to the build file https://github.com/telerik/reporting/blob/hotfix/.github/workflows/build-report-server-docs.yml. Here is how the step looks:
- name: Copy report-server-docs custom templates
run: |
cp -f $(pwd)/report-server-docs/_rs_includes/cta-panel-introduction.html $(pwd)/docs-seed/_includes/
cp -f $(pwd)/report-server-docs/_rs_includes/cta-panel-small.html $(pwd)/docs-seed/_includes/
The second 'cp' line adds the template from the screenshot.