dox-foundation icon indicating copy to clipboard operation
dox-foundation copied to clipboard

removed accordian attribute from sidebar.

Open taddei opened this issue 10 years ago • 1 comments

Now navigation between pages happens on click. Rather than opening/closing the sidebar elements, I found myself always wanting to read the documentation for that file.

taddei avatar Jul 08 '15 12:07 taddei

This breaks the accordion behavior, so I don't think can be merged. I also had the same problem though, so my workaround was different. I added code to page.js:

  document.addEventListener('click', event => {
    if (Array.from(document.querySelectorAll('#nav a')).includes(event.target))
      document.location = event.target.href
  })

But I think such a solution needs to remain as a personal customization and not merged here.

Maybe we can come up with a solution that leaves the accordion working yet allows to navigate to the file...

(plus, some files don't have any methods, so their accordion sections are blank, which means there's no way to navigate to the file, and that needs to be fixed).

https://github.com/trusktr/dox-foundation/tree/file-links

trusktr avatar May 16 '16 04:05 trusktr