How do we see the fruits of our labor with respect to the API documentation layout?
What are we missing here?
Solved! Go to Solution.
Hi Dylan,
depending on the settings, when a SmartDocs model is created, it makes a copy of the global (smartdocs.hbr). It then uses it's local copy going forward. If you want the to apply the latest (smartdocs.hbr) to previously created SmartDocs module you'll need to upload into each model.
Any newly created SmartDocs module should grab the latest global (smartdocs.hbr).
Dear @Dylan Scott , It might be Drupal cache issue. Have you tried clearing Drupal Cache once you rendered / published ? You can clear drupal cache by Navigating to Configuration -> Development -> Performance or using the link "Flush All Caches" in admin menu below the home icon.
Ahh yes, sorry, should have included that in my list of actions performed. FYI, we tested each step with tried before and after flushing the caches, just for learning value. So we would know how the updates to a template would work, i.e. did it need for us to flush the caches? The problem is, we can't get it to work, so we haven't learnt much yet! 🙂
BTW, we are an On Prem installation.
Hi Dylan,
depending on the settings, when a SmartDocs model is created, it makes a copy of the global (smartdocs.hbr). It then uses it's local copy going forward. If you want the to apply the latest (smartdocs.hbr) to previously created SmartDocs module you'll need to upload into each model.
Any newly created SmartDocs module should grab the latest global (smartdocs.hbr).
Thanks Cesar. I tested this last night, and this is how to resolve the template for existing models. I would propose that someone in your product group add an update (a Note) to the product support page: http://apigee.com/docs/developer-services/content/using-smartdocs-document-apis#editingthesmartdocst...
A simple note informing the user that ALL existing models would require the effort of option 1 described at the above URL, as that is not clear. As in my case, I didn't just want "To modify the template for an individual model", I wanted "To upload a custom template .hbr file for all models". When in fact, all existing models are considered "individual Models" in this scenario.
Thanks.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |