lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] Shazwazza commented on pull request #374: Add fork me on github2
Date Mon, 19 Oct 2020 10:33:15 GMT

Shazwazza commented on pull request #374:
URL: https://github.com/apache/lucenenet/pull/374#issuecomment-712011151


   Hi @joneskj55 thanks for the effort so far!
   
   We'll want to put the `<span>` within the docfx html template files instead of coded
into the .md files so that its just in a single place.  DocFx has a template engine that overrides
the default implementation. In the case of this website we don't have an override html page
for the normal pages so we'll have to create one. You can export the built in template system
to see all of the files used by doing this: https://dotnet.github.io/docfx/tutorial/walkthrough/advanced_walkthrough.html#export-the-default-template.

   
   I think the template file used to render all of the standard pages is `conceptual.html.primary.tmpl`
so you can copy that file in from the exported templates into the `/websites/site/lucenetemplate`
and this will 'override' the default implementation. From there you can customize the html
however you want so you won't have to copy the `<span>` tag to each .md page (which
should only contain markdown) and just have this in one single spot.
   
   Let me know if you have any questions, thanks!
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message