Re: OFP docs changes

Luis Gomez

According to this:, you have to use code-tabs. Also when you use code-tabs, make sure you use same indent as in the examples in this github, otherwise the table will not look good.


On Jul 16, 2020, at 7:05 PM, Dhiraj Sharma <dhiraj.8.sharma@...> wrote:

Hello sir, with code-tab it was working you can check the previous patch.

But in this new patch with tab it is giving errors as extra line spaces are required at each node and termination as it is XML and JSON codes which are providing issues.
I used tab as per Tejas sir reviews.

ThaK You

On Jul 17, 2020 6:56 AM, "Luis Gomez" <ecelgp@...> wrote:
Hi Dhiraj,

The patch failed, are you facing more issues?

On Jul 14, 2020, at 8:33 PM, Dhiraj Sharma <dhiraj.8.sharma@...> wrote:

Hello Sir,

I have updated the patch now

On Tue, Jul 14, 2020 at 10:30 PM Tejas Nevrekar <tejas.nevrekar@...> wrote:
Dhiraj, can you please check this example

I think you need to use tab and not code-tab for the json and xml.

On Tue, Jul 14, 2020, 4:09 PM Dhiraj Sharma <dhiraj.8.sharma@...> wrote:
Sorry for being late please check the changes at first payload as a demo and you can review that part where I will apply changes subsequently to other payloads likewise.Both in flow-examples and operation.rst files.

Thank You

On Tue, Jul 14, 2020 at 10:33 AM Dhiraj Sharma <dhiraj.8.sharma@...> wrote:
Yes sure, I will push changes asap.

On Jul 14, 2020 10:07 AM, "Luis Gomez" <ecelgp@...> wrote:
Dhiraj, can you please push the change to gerrit and share the link so we can take a look?

On Jul 13, 2020, at 9:14 PM, Dhiraj Sharma <dhiraj.8.sharma@...> wrote:

So are you saying current version of sphinx in ODL Jenkins (3.0.4) is not compatible with the tabs plugin? do you have a jenkins rtd job failing for this reason? if so can you share the link?


Hello Sir,
I thought that rtdd jenkins may fail, if I use sphinx tabs as locally tox was emitting error. But the problem was with cached ".tox" which after deletion worked fine but UI is not as expected.

Works just fine with the sphinx-tabs basic example from their site. Here was my quick test with the odl documentation project:

(Although our current bootstrap theme does not appear to render the tabs in a nice way, but it works.)


If you already ran docs builds _before_ sphinx-tabs support was merged (tox -e docs) then you need to clear your cache by deleting the .tox directory in the repo. Otherwise it might use the old cached requirements and may not pick up the new tabs support.


Thank You for the example sir, I worked similarly.The problem was with the stored cached directory of ".tox" which I used to build earlier.
After deleting and then again testing yields the output but the UI is not the same as expected.

Please check below attached screenshots where I tried too.
The "code-tab" is also not showing the JSON tab in the below screenshot.
So, even if the UI is not that same should I push the changes?

Thank You
Dhiraj Sharma
<Screenshot (462).png><Screenshot (463).png>

Join to automatically receive all group messages.