New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUK Documentation - Impliment ToC #259

Closed
SamFritz opened this Issue Feb 1, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@SamFritz
Copy link
Member

SamFritz commented Feb 1, 2019

Is your feature request related to a problem? Please describe.
Based on user feedback we should take a look at how we can make longer learning guides a little easier to navigate.

Describe the solution you'd like
Let's take a look at possible ToC and anchor implementation; or some other way to split material up into sections.

@SamFritz SamFritz self-assigned this Feb 1, 2019

@SamFritz

This comment has been minimized.

Copy link
Member

SamFritz commented Feb 6, 2019

Possible solutions/approaches to creating table of contents:

HTML/CSS:looks pretty basic and simple
Highly Configurable jQuery Table of Contents Plugin - TocJS: possibly too complex, but I can have a look; shoot for the moon right?

@ianmilligan1

This comment has been minimized.

Copy link
Member

ianmilligan1 commented Feb 6, 2019

I would do the simple one myself, but happy to defer to your wisdom and research here.

@SamFritz

This comment has been minimized.

Copy link
Member

SamFritz commented Feb 7, 2019

Update: need to use Rails routing to make this work.
e.g. <%= link_to('The text you want', anchor: '#the_id_you_want') %> transforms into
<li class="toc-li"><%=link_to('Introduction', anchor: '1toc') %></li>

Also found that # were not necessary for anchoring within id

Thanks @ruebot for the help!

screen shot 2019-02-07 at 5 18 35 pm

@SamFritz

This comment has been minimized.

Copy link
Member

SamFritz commented Feb 7, 2019

Pages to update with routing template (including ToC list at top of page, "back to top" for each section)

  • An Introduction to Gephi
  • Network Graphing Archived Websites With Gephi
  • Filtering the Full-Text Derivative File
  • Text Analysis Part One
  • Text Analysis Part Two
  • Making Sense of the Domains Count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment