From f0df36517e5b1755ce83d7f22c741515ed9f909f Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 25 May 2017 11:12:08 +0200 Subject: [PATCH] Update sidebar structure --- docs/_data/sidebars/mydoc_sidebar.yml | 283 ++------------------------ docs/_data/topnav.yml | 26 +-- 2 files changed, 16 insertions(+), 293 deletions(-) diff --git a/docs/_data/sidebars/mydoc_sidebar.yml b/docs/_data/sidebars/mydoc_sidebar.yml index 9760732ced..48f137b90f 100644 --- a/docs/_data/sidebars/mydoc_sidebar.yml +++ b/docs/_data/sidebars/mydoc_sidebar.yml @@ -3,89 +3,77 @@ entries: - title: sidebar product: PMD Project - version: 5.5 + version: 5.7.0 folders: - title: output: pdf type: frontmatter folderitems: - - title: url: /titlepage output: pdf type: frontmatter - - title: url: /tocpage output: pdf type: frontmatter - - title: Overview + - title: User Documentation output: web, pdf folderitems: - - title: Introduction url: /index.html output: web, pdf type: homepage - -# - title: Introduction -# url: /mydoc_introduction.html -# output: web, pdf - - title: How PMD Works url: /how_pmd_works.html output: web, pdf - - title: Supported Features url: /mydoc_supported_features.html output: web, pdf - - title: About the theme author url: /mydoc_about.html output: web, pdf - - title: Support url: /mydoc_support.html output: web, pdf - - - title: Customizing PMD + - title: Rule Reference + output: web, pdf + folderitems: + - title: Apex Rules + url: /rules/apex.html + output: web, pdf + - title: Java Rules + url: /rules/java.html + output: web, pdf + - title: Developer Documentation output: web, pdf folderitems: - - title: How PMD Works url: /how_pmd_works.html output: web, pdf - - title: Writing a Rule url: /writing_pmd_rules.html output: web, pdf - - title: Writing XPath Rules url: /writing_xpath_rules.html output: web, pdf - - title: Making Rulesets url: /making_rulesets.html output: web, pdf - - title: Rule Guidelines url: /rule_guidelines.html output: web, pdf - - title: Info for Developers url: /info_for_developers.html output: web, pdf - - title: Adding a New Language url: /adding_new_language.html output: web, pdf - - title: Adding a New CPD Language url: /adding_new_cpd_language.html output: web, pdf - - title: Compiling PMD url: /compiling_pmd.html output: web, pdf @@ -98,14 +86,6 @@ entries: url: /language_apex.html output: web, pdf - - title: Supported IDE's - output: web, pdf - folderitems: - - - title: Sidebar navigation - url: /mydoc_sidebar_navigation.html - output: web, pdf - - title: Release Notes output: web, pdf folderitems: @@ -121,242 +101,3 @@ entries: - title: 5.4.1 Release Notes url: /2015-12-04-release-notes-5-4-1.html output: web, pdf - -# - title: Installation -# output: web, pdf -# folderitems: - -# - title: About Ruby, Gems, Bundler, etc. -# url: /mydoc_about_ruby_gems_etc.html -# output: web, pdf - -# - title: Install Jekyll on Mac -# url: /mydoc_install_jekyll_on_mac.html -# output: web, pdf - -# - title: Install Jekyll on Windows -# url: /mydoc_install_jekyll_on_windows.html -# output: web, pdf - -# - title: Supported Languages -# output: web, pdf - -# folderitems: -# - title: Pages -# url: /mydoc_pages.html -# output: web, pdf - -# - title: Posts -# url: /mydoc_posts.html -# output: web, pdf - -# - title: Lists -# url: /mydoc_lists.html -# output: web, pdf - -# - title: Conditional logic -# url: /mydoc_conditional_logic.html -# output: web, pdf - -# - title: Content reuse -# url: /mydoc_content_reuse.html -# output: web, pdf - -# - title: Collections -# url: /mydoc_collections.html -# output: web, pdf - -# - title: WebStorm editor tips -# url: /mydoc_webstorm_text_editor.html -# output: web, pdf - -# - title: Atom editor tips -# url: /mydoc_atom_text_editor.html -# output: web, pdf - -# - title: YAML tutorial in the context of Jekyll -# url: /mydoc_yaml_tutorial.html -# output: web, pdf - -# - title: Tags -# url: /mydoc_tags.html -# output: web, pdf - -# - title: Series -# url: /mydoc_series.html -# output: web, pdf - -# - title: Formatting -# output: web, pdf - -# folderitems: -# - title: Tooltips -# url: /mydoc_adding_tooltips.html -# output: web, pdf - -# - title: Alerts -# url: /mydoc_alerts.html -# output: web, pdf - -# - title: Icons -# url: /mydoc_icons.html -# output: web, pdf - -# - title: Images -# url: /mydoc_images.html -# output: web, pdf - -# - title: Code samples -# url: /mydoc_code_samples.html -# output: web, pdf - -# - title: Labels -# url: /mydoc_labels.html -# output: web, pdf - -# - title: Links -# url: /mydoc_hyperlinks.html -# output: web, pdf - -# - title: Navtabs -# url: /mydoc_navtabs.html -# output: web, pdf - -# - title: Tables -# url: /mydoc_tables.html -# output: web, pdf - -# - title: Syntax highlighting -# url: /mydoc_syntax_highlighting.html -# output: web, pdf - -# - title: Workflow maps -# url: /mydoc_workflow_maps.html -# output: web, pdf - -# - title: Handling reviews -# output: web, pdf - -# folderitems: -# - title: Commenting on files -# url: /mydoc_commenting_on_files.html -# output: web, pdf - -# - title: Git collaboration -# url: /mydoc_git_collaboration -# output: web, pdf - -# - title: Publishing -# output: web, pdf - -# folderitems: -# - title: Build arguments -# url: /mydoc_build_arguments.html -# output: web, pdf - -# - title: Themes -# url: /mydoc_themes.html -# output: web, pdf - -# - title: Generating PDFs -# url: /mydoc_generating_pdfs.html -# output: web, pdf - -# - title: Help APIs and UI tooltips -# url: /mydoc_help_api.html -# output: web, pdf -# -# - title: Search configuration -# url: /mydoc_search_configuration.html -# output: web, pdf -# -# - title: iTerm profiles -# url: /mydoc_iterm_profiles.html -# output: web, pdf -# -# - title: Pushing builds to server -# url: /mydoc_push_build_to_server.html -# output: web, pdf -# -# - title: Getting around the password prompts in SCP -# url: /mydoc_no_password_prompts_scp.html -# output: web, pdf -# -# - title: Publishing on Github Pages -# url: /mydoc_publishing_github_pages.html -# output: web, pdf -# -# - title: Special layouts -# output: web, pdf -# -# folderitems: -# - title: Knowledge-base layout -# url: /mydoc_kb_layout.html -# output: web, pdf -# -# - title: Glossary layout -# url: /mydoc_glossary.html -# output: web, pdf -# -# - title: FAQ layout -# url: /mydoc_faq_layout.html -# output: web, pdf -# -# - title: Scroll layout -# url: /mydoc_scroll.html -# output: web, pdf -# -# - title: Shuffle layout -# url: /mydoc_shuffle.html -# output: web, pdf -# -# - title: Troubleshooting -# output: web, pdf -# -# folderitems: -# -# - title: Troubleshooting -# url: /mydoc_troubleshooting.html -# output: web, pdf -# -# - title: Tag archives -# output: web -# folderitems: -# -# - title: Tag archives overview -# url: /mydoc_tag_archives_overview.html -# output: web -# -# subfolders: -# - title: Tag archive pages -# output: web -# subfolderitems: -# -# - title: Formatting pages -# url: /tag_formatting.html -# output: web -# -# - title: Navigation pages -# url: /tag_navigation.html -# output: web -# -# - title: Content types pages -# url: /tag_content_types.html -# output: web -# -# - title: Publishing pages -# url: /tag_publishing.html -# output: web -# -# - title: Special layout pages -# url: /tag_special_layouts.html -# output: web -# -# - title: Collaboration pages -# url: /tag_collaboration.html -# output: web -# -# - title: Troubleshooting pages -# url: /tag_troubleshooting.html -# output: web -# \ No newline at end of file diff --git a/docs/_data/topnav.yml b/docs/_data/topnav.yml index 8bd1397074..e869d37641 100644 --- a/docs/_data/topnav.yml +++ b/docs/_data/topnav.yml @@ -5,28 +5,10 @@ topnav: items: - title: News url: /news + - title: Download + external_url: https://github.com/pmd/pmd/releases/latest + - title: Fork us on github + external_url: https://github.com/pmd/pmd #Topnav dropdowns topnav_dropdowns: -- title: Topnav dropdowns - folders: - - title: Jekyll Resources - folderitems: - - title: Github Repo - external_url: https://github.com/tomjohnson1492/documentation-theme-jekyll - - title: Jekyll Talk - external_url: https://talk.jekyllrb.com - - title: Jekyll documentation - external_url: http://jekyllrb.com/docs/home/ - - title: Jekyll on Stack Overflow - external_url: http://stackoverflow.com/questions/tagged/jekyll - - title: Jekyll on my blog - external_url: http://idratherbewriting.com/category-jekyll/ - - title: Products - folderitems: - - title: Jekyll Documentation Theme - url: /mydoc_introduction.html - - title: Product 1 - url: /p1_landing_page.html - - title: Product 2 - url: /p2_landing_page.html