[OpenStack-docs] Menu update

Jimmy McArthur jimmy at openstack.org
Thu Jan 14 16:09:13 UTC 2016


Awesome. Thank you for the info and for the quick fixes!

Andreas Jaeger wrote:
> On 2016-01-13 23:05, Lana Brindley wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Hi Andreas,
>>
>> This seems to be a trivial fix, do you have any concerns about adding 
>> this?
>>
>> Lana
>>
>> On 14/01/16 03:08, Jimmy McArthur wrote:
>>> Lana,
>>>
>>> Good day! I work with the OpenStack Foundation and I wanted to let 
>>> you know we recently updated our menu to add a new section, Speakers 
>>> Bureau, under Community.  I attempted to do a pull request on the 
>>> repo, but I found that 
>>> http://git.openstack.org/cgit/openstack/openstackdocstheme/diff/openstackdocstheme/theme/openstackdocs/header.html 
>>> doesn't actually match what's currently on the site.
>
>
> Jimmy, openstackdocstheme needs first to be released before we publish 
> it. It is the header for guides like 
> http://docs.openstack.org/admin-guide-cloud/
>
> I made the change for this section to sync it with what you have on 
> www.openstack.org since I didn't want to include another remote widget 
> - this allows to use the code locally without internet. I also updated 
> a few other places that were not in sync.
>
> Here's the change for review:
>  https://review.openstack.org/267559
>
> Jimmy, openstackdocstheme only covers manuals itself, 
> docs.openstack.org initial page is done in openstack-manuals.
>
> Change is here:
>  https://review.openstack.org/267564
>
> Andreas
>
>>> It might be easiest to simply update to the menu include we created, 
>>> which will update automatically when we update the site. To see a 
>>> sample of this, you can look here: http://devmenu.openstack.org/
>>>
>>> <nav class="navbar navbar-default" role="navigation">
>>> <div class="container">
>>> <div class="collapse navbar-collapse" 
>>> id="bs-example-navbar-collapse-1">
>>> <ul id="menu_widget_container" class="nav navbar-nav navbar-main 
>>> show"></ul>
>>> </div>
>>> </div>
>>> </nav>
>>>
>>> The only required element is the <ul> but the rest is necessary for 
>>> styling purposes.
>>>
>>> Then include the widget :
>>> <script type="text/javascript" 
>>> src="http://www.openstack.org/themes/openstack/javascript/menu-widget.js"></script> 
>>>
>>>
>>> Bootstrap and jquery are required as well.
>>>
>>> Let me know if I can answer any questions/concerns.
>>>
>>> Thanks!
>>> Jimmy
>>>
>>
>> - -- 
>> Lana Brindley
>> Technical Writer
>> Rackspace Cloud Builders Australia
>> http://lanabrindley.com
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v2
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iQEcBAEBCAAGBQJWlsofAAoJELppzVb4+KUy0A8H/3ku9IOW2OWIjWUIVkxwmRig
>> IRWt4y4q1QFqsfixfDAQzP2ERnvhjhlDncCNst9Wjp2GpqeE7lXmkurvzzNgd/uW
>> 04QANmb1CITIcLciFpHdIPHAkgxBBsSaT7ZgeYLSZflWf+MlheB+2Uvr1GqDhiyP
>> yXz8TPfEaBvzvlnSRVbRealIkijRdPH2Reoo1XLuoAqWKczLE89x261s0e2NE4rG
>> TkitU5n19ZpgBHcG9je2qABgmicB0kyqYzo+wkPkaihYv9O4BblnnvyLF1WopMRV
>> aQd/zcsXpr1kjBuWRBT2WKEOx/90U2Uy1PBt+UnHH4Ii1jxDkGXfq/PJ/2HYAfQ=
>> =BufL
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> OpenStack-docs mailing list
>> OpenStack-docs at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>>
>
>




More information about the OpenStack-docs mailing list