53 lines
4.9 KiB
Plaintext
53 lines
4.9 KiB
Plaintext
<nav>
|
|
<h2 class='first'>Basics</h2>
|
|
<a href="<%= url_for("file.changelog.html") %>" class="<%= 'current' if options[:object] == 'file.changelog.html' %>">API Change Log</a>
|
|
<a href="<%= url_for("file.breaking.html") %>" class="<%= 'current' if options[:object] == 'file.breaking.html' %>">API Breaking Changes</a>
|
|
<a href="<%= url_for("file.object_ids.html") %>" class="<%= 'current' if options[:object] == 'file.object_ids.html' %>">SIS IDs</a>
|
|
<a href="<%= url_for("file.pagination.html") %>" class="<%= 'current' if options[:object] == 'file.pagination.html' %>">Pagination</a>
|
|
<a href="<%= url_for("file.throttling.html") %>" class="<%= 'current' if options[:object] == 'file.throttling.html' %>">Throttling</a>
|
|
<a href="<%= url_for("file.compound_documents.html") %>" class="<%= 'current' if options[:object] == 'file.compound_documents.html' %>">Compound Documents</a>
|
|
<a href="<%= url_for("file.file_uploads.html") %>" class="<%= 'current' if options[:object] == 'file.file_uploads.html' %>">File Uploads</a>
|
|
<a href="<%= url_for("file.endpoint_attributes.html") %>" class="<%= 'current' if options[:object] == 'file.endpoint_attributes.html' %>">API Endpoint Attributes</a>
|
|
<a href="<%= url_for("file.masquerading.html") %>" class="<%= 'current' if options[:object] == 'file.masquerading.html' %>">Masquerading</a>
|
|
<h2>OAuth2</h2>
|
|
<a href="<%= url_for("file.oauth.html") %>" class="<%= 'current' if options[:object] == 'file.oauth.html' %>">OAuth2 Overview</a>
|
|
<a href="<%= url_for("file.oauth_endpoints.html") %>" class="<%= 'current' if options[:object] == 'file.oauth_endpoints.html' %>">OAuth2 Endpoints</a>
|
|
<a href="<%= url_for("file.developer_keys.html") %>" class="<%= 'current' if options[:object] == 'file.developer_keys.html' %>">Developer Keys</a>
|
|
<h2>Resources</h2>
|
|
<a <%= "class='current'" if options[:all_resources] %> href="all_resources.html">All Resources Reference</a>
|
|
<% options[:resources].each_with_index do |(resource, controllers), i| %>
|
|
<% next if resource.include?('Plagiarism Detection')
|
|
link = url_for("#{topicize resource}.html")
|
|
klass = []
|
|
klass << "current" if resource == options[:object] %>
|
|
<a class="<%= klass.join(' ') %>" href="<%= link %>"><%= resource %></a>
|
|
<% end %>
|
|
<h2>Outcomes</h2>
|
|
<a href="<%= url_for("file.outcomes_csv.html") %>" class="<%= 'current' if options[:object] == 'file.outcomes_csv.html' %>">Outcomes CSV Format</a>
|
|
<h2>SIS</h2>
|
|
<a href="<%= url_for("file.sis_csv.html") %>" class="<%= 'current' if options[:object] == 'file.sis_csv.html' %>">SIS CSV Format</a>
|
|
<h2>External Tools</h2>
|
|
<a href="<%= url_for("file.tools_intro.html") %>" class="<%= 'current' if options[:object] == 'file.tools_intro.html' %>">Introduction</a>
|
|
<a href="<%= url_for("file.tools_variable_substitutions.html") %>" class="<%= 'current' if options[:object] == 'file.tools_variable_substitutions.html' %>">Variable Substitutions</a>
|
|
<a href="<%= url_for("file.assignment_tools.html") %>" class="<%= 'current' if options[:object] == 'file.assignment_tools.html' %>">Grading</a>
|
|
<a href="<%= url_for("file.navigation_tools.html") %>" class="<%= 'current' if options[:object] == 'file.navigation_tools.html' %>">Navigation</a>
|
|
<a href="<%= url_for("file.homework_submission_tools.html") %>" class="<%= 'current' if options[:object] == 'file.homework_submission_tools.html' %>">Homework Submission</a>
|
|
<a href="<%= url_for("file.content_item.html") %>" class="<%= 'current' if options[:object] == 'file.content_item.html' %>">Content Item</a>
|
|
<a href="<%= url_for("file.xapi.html") %>" class="<%= 'current' if options[:object] == 'file.xapi.html' %>">xAPI</a>
|
|
<a href="<%= url_for("file.tools_xml.html") %>" class="<%= 'current' if options[:object] == 'file.tools_xml.html' %>">Configuring</a>
|
|
<a href="<%= url_for("file.editor_button_tools.html") %>" class="<%= 'current' if options[:object] == 'file.editor_button_tools.html' %>">Rich Editor</a>
|
|
<a href="<%= url_for("file.link_selection_tools.html") %>" class="<%= 'current' if options[:object] == 'file.link_selection_tools.html' %>">Link Selection</a>
|
|
<a href="<%= url_for("file.plagiarism_platform.html") %>" class="<%= 'current' if options[:object] == 'file.plagiarism_platform.html' %>">Plagiarism Detection Platform</a>
|
|
<% options[:resources].each do |(resource, controllers)| %>
|
|
<% next if resource.exclude?('Plagiarism Detection')
|
|
link = url_for("#{topicize resource}.html")
|
|
klass = "current" if resource == options[:object] %>
|
|
<a class="<%= klass %>" href="<%= link %>"><%= resource %></a>
|
|
<% end %>
|
|
<a href="<%= url_for("file.jwt_access_tokens.html") %>" class="<%= 'current' if options[:object] == 'file.jwt_access_tokens.html' %>">JWT Access Tokens</a>
|
|
<!-- still experimental, so we're not advertising it.
|
|
<h2>Other</h2>
|
|
<a href="<%= url_for("file.live_events.html") %>" class="<%= 'current' if options[:object] == 'file.live_events.html' %>">Live Events</a>
|
|
-->
|
|
</nav>
|