SalesforceFoundation / ApexDoc

The latest java source for ApexDoc, a tool to document your Salesforce Apex classes.
BSD 3-Clause "New" or "Revised" License
229 stars 128 forks source link

Home content and banner pages #49

Closed AgingHippie closed 8 years ago

AgingHippie commented 8 years ago

Is there an example of working home content and banner pages? It seems to ignore them, whether the content is bounded by <html></html> or not.

kbromer commented 8 years ago

http://developer.salesforcefoundation.org/Cumulus/ApexDocumentation/

AgingHippie commented 8 years ago

Yes, this is exactly what I want. But what does my banner html file have to include in order to do this? I tried it with and without the html tag, and it just ignores the file. No error message, no change to the output index.html.

davidhabib commented 8 years ago

check out https://github.com/SalesforceFoundation/Cumulus/blob/dev/ApexDocContent/homepage.htm and https://github.com/SalesforceFoundation/Cumulus/blob/dev/ApexDocContent/projectheader.htm

kbromer commented 8 years ago

Here's the doc page source: https://github.com/SalesforceFoundation/Cumulus/tree/gh-pages

AgingHippie commented 8 years ago

Got it - body tag also needed. Thanks.

MayTheSForceBeWithYou commented 3 years ago

@AgingHippie 5.5 years later, this is everything to me tonight! That was quite a bit of dead link chasing before I got all the way down here. 🙏 Also, if anyone's having trouble with relative references for images/styles/etc., make sure to use the relative path of where your HTML will be generated, NOT where the template file(s) live.