From 6cd782cd4154f3ef0fa37c601eb9353bd2b2114f Mon Sep 17 00:00:00 2001 From: MythoAway7 <58316242+MythoAway7@users.noreply.github.com> Date: Sat, 6 Jan 2024 12:22:49 -0600 Subject: [PATCH 1/2] Move docs to subdomain --- .../Selection/AttributeSelection.razor | 41 ----- Pages/Docs/Content/Selection/Insertion.razor | 36 ----- Pages/Docs/Content/Selection/Limit.razor | 26 ---- Pages/Docs/Content/Selection/Selection.razor | 54 ------- .../Docs/Content/Selection/TagSelection.razor | 30 ---- .../Content/Tools/AttrubuteModifier.razor | 62 -------- Pages/Docs/Content/Tools/ColorReplacer.razor | 62 -------- Pages/Docs/Content/Tools/ListGenerator.razor | 59 ------- Pages/Docs/Content/Tools/TableGenerator.razor | 59 ------- Pages/Docs/Content/Tools/TagGenerator.razor | 59 ------- Pages/Docs/Content/Tools/Tools.razor | 32 ---- Pages/Docs/Documentation.razor | 12 -- Pages/Docs/_Imports.razor | 2 - Pages/Index.razor | 2 +- Pages/Tools/ColorReplacer.razor | 2 +- README.md | 2 +- Shared/DocumentationLayout.razor | 50 ------ Shared/DocumentationLayout.razor.css | 37 ----- Shared/LocalNavigation.razor | 17 -- Shared/MainLayout.razor | 2 +- Shared/NavMenu.razor | 145 +++++------------- 21 files changed, 40 insertions(+), 751 deletions(-) delete mode 100644 Pages/Docs/Content/Selection/AttributeSelection.razor delete mode 100644 Pages/Docs/Content/Selection/Insertion.razor delete mode 100644 Pages/Docs/Content/Selection/Limit.razor delete mode 100644 Pages/Docs/Content/Selection/Selection.razor delete mode 100644 Pages/Docs/Content/Selection/TagSelection.razor delete mode 100644 Pages/Docs/Content/Tools/AttrubuteModifier.razor delete mode 100644 Pages/Docs/Content/Tools/ColorReplacer.razor delete mode 100644 Pages/Docs/Content/Tools/ListGenerator.razor delete mode 100644 Pages/Docs/Content/Tools/TableGenerator.razor delete mode 100644 Pages/Docs/Content/Tools/TagGenerator.razor delete mode 100644 Pages/Docs/Content/Tools/Tools.razor delete mode 100644 Pages/Docs/Documentation.razor delete mode 100644 Pages/Docs/_Imports.razor delete mode 100644 Shared/DocumentationLayout.razor delete mode 100644 Shared/DocumentationLayout.razor.css delete mode 100644 Shared/LocalNavigation.razor diff --git a/Pages/Docs/Content/Selection/AttributeSelection.razor b/Pages/Docs/Content/Selection/AttributeSelection.razor deleted file mode 100644 index daa2720..0000000 --- a/Pages/Docs/Content/Selection/AttributeSelection.razor +++ /dev/null @@ -1,41 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/selection/attribute" - -

Attribute Selection

- -

This selection allows you to target a tag with a specific attribute. You can use this to target a specific tag anywhere in the document. You can also target multiple tags with a given attribute.

- -

- You can choose any of the below attributes: -

- - - -

- Title is the preferred attribute because most PDF programs display the title of the tag in the tree. This makes it easy to modify and see the result. You should remove the title when you are done. -

- -Tag tree showing the title of a tag - - -

This selection may have multiple targets. Use the limit selection feature accordingly.

- -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("attrSelection", 1, "Attribute Selection")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Selection/Insertion.razor b/Pages/Docs/Content/Selection/Insertion.razor deleted file mode 100644 index d49afa9..0000000 --- a/Pages/Docs/Content/Selection/Insertion.razor +++ /dev/null @@ -1,36 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/selection/insertion" -@page "/docs/selection/insert" - -

Selection Insertion

- -

Many tools insert tags into the document. If your tools does that, you will need to choose an insertion point. The below points are available:

- - -

- You can only insert a tag in a valid position. For example, using the before/after insertion on the document root will not work. -

- -

- If your tool does not insert a tag, you can ignore this part of the selection interface. In a future version this part will be hidden in such cases. -

- -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("selectionInsertion", 1, "Selection Insertion")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Selection/Limit.razor b/Pages/Docs/Content/Selection/Limit.razor deleted file mode 100644 index 94fb6fd..0000000 --- a/Pages/Docs/Content/Selection/Limit.razor +++ /dev/null @@ -1,26 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/selection/limit" - -

Selection Limit

- -

Many selections will target more than one element. If this is the case, consider adding a limit. The selection will target each element. If the next element is more than the limit placed, the selection will stop.

- -

- You can use the Check Matches button in the interface to see the amount of tags that were targeted. This includes the limit! If you want to see all of the tags that match a selection regardless of the limit, set the limit to its max value of 999. -

- - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("selectionLimit", 1, "Selection Limit")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Selection/Selection.razor b/Pages/Docs/Content/Selection/Selection.razor deleted file mode 100644 index fa6223d..0000000 --- a/Pages/Docs/Content/Selection/Selection.razor +++ /dev/null @@ -1,54 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/selection" - -

Selection

- -

The selection input allows you to modify many parts of your PDF at the same time. However, it may seem complicated to those who are not familar with it. It is well worth learning as it can save a ton of time in the remediation process.

- - -

Intro to Selection

-

Choosing a selection can be done by asking the below questions.

-

- Do I need to run the current tool once? If so, am I comfortable moving the tag to its intended position? -
- - If you answered yes, choose the Document Root as the selection type. This will add the selection to the root of the document. This is the default selection because it works for most users. The tool output is easy to find and it doesn't require much thought to set up. You do have to move the tag to its final destination though. -
- - If you need to run the tool once, but you want it in a specific position, you must use a different selection type. -

- -

- If you answered no either of the above questions, you need one of the special types listed below. -

- -

Selection Types

- - - -

Filter Selection

-

Once you have your selection, use the below features to finetune it. These are optional.

- - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("header", 1, "Selection")); - list.Add(new TocItem("selectionList", 2, "Selection Types")); - list.Add(new TocItem("filterSelection", 2, "Filter Selection")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Selection/TagSelection.razor b/Pages/Docs/Content/Selection/TagSelection.razor deleted file mode 100644 index 3596176..0000000 --- a/Pages/Docs/Content/Selection/TagSelection.razor +++ /dev/null @@ -1,30 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/selection/tag" -@page "/docs/selection/tags" - -

Tag Selection

- -

This selection allows you to target a type of tag. This selection is commonly used for:

-
    -
  • Selecting every figure tag to add alt text.
  • -
  • Selecting every h6 to add a new tag below each section of the document.
  • -
  • Selecting a tag that only appears once.
  • -
  • Selecting every instance of a tag.
  • -
- -

This selection will likely have multiple targets. Use the limit selection feature accordingly.

- -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("tagSelection", 1, "Tag Selection")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Tools/AttrubuteModifier.razor b/Pages/Docs/Content/Tools/AttrubuteModifier.razor deleted file mode 100644 index b5b46e5..0000000 --- a/Pages/Docs/Content/Tools/AttrubuteModifier.razor +++ /dev/null @@ -1,62 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ - -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/tools/attribute" -@page "/docs/tools/attributemodifier" -@page "/docs/tools/attribute-modifier" -@page "/docs/tools/attribute_modifier" - -

Attribute Modifier

- -

This tool allows for mass attribute modification. You can add, edit, or remove an attribute. This tool supports the ID, Title, and Actual/Alt text attributes.

- -

- Adding will add the attribute if it doesn't exist. Editing will modify the attribute regardless of if it exists. Deletion will remove the attribute. For most attributes, this will result in a blank string. -

- -

Parameters

- -
- - - - - - - - - - - - - - - - - -
ParameterPurpose
AttributeThe attribute to modify.
ActionAdd, edit, or remove a tag
Value (optional)If in add or edit mode, this will be the value of the attribute. If an attribute is being removed, this property is not used.
-
- -

Output

- -

- Output of setting every image to have an alt text of "Our Logo". -

- -Modified image tags. Each tag has a new alt text value. - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("attributeMod", 1, "Attribute Modifier")); - list.Add(new TocItem("parameters", 2, "Parameters")); - list.Add(new TocItem("output", 2, "Output")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Tools/ColorReplacer.razor b/Pages/Docs/Content/Tools/ColorReplacer.razor deleted file mode 100644 index cc7df9b..0000000 --- a/Pages/Docs/Content/Tools/ColorReplacer.razor +++ /dev/null @@ -1,62 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ - -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/tools/color-replacer" -@page "/docs/tools/color_replacer" -@page "/docs/tools/colorReplacer" - - -

Color Replacer

- -

This tool allows for colors of text and shapes to be changed without breaking the tag structure. Adobe Acrobat can change the colors, but it breaks the document structure. This tool will not do that.

- -

- You can modify the fill and stroke color. The document will show all of the available colors below the UI. These are what you are able to replace. This may take some time to appear depending on the size of the document. -

- -

Parameters

- -
- - - - - - - - - - - - - - - - - -
ParameterPurpose
Color CategoryReplace the fill (inner) or the stroke (outer). Stroke is commonly used for underlining links.
Target ColorThis color will be replaced. Select one of the available colors from below the main UI.
Replacement ColorThis color will replace the target color. It uses the RGB format.
-
- -

Output

- -

- Changing the text color to meet color contrast requirements. -

- -Using the color replacer to switch yellow text on a white background to black. - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("colorReplacer", 1, "Color Replacer")); - list.Add(new TocItem("parameters", 2, "Parameters")); - list.Add(new TocItem("output", 2, "Output")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Tools/ListGenerator.razor b/Pages/Docs/Content/Tools/ListGenerator.razor deleted file mode 100644 index cf31b05..0000000 --- a/Pages/Docs/Content/Tools/ListGenerator.razor +++ /dev/null @@ -1,59 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/tools/list" -@page "/docs/tools/listgenerator" -@page "/docs/tools/list-generator" -@page "/docs/tools/list_generator" - -

List Generator

- -

This tool lets you create accessible lists with ease. Each list contains all of the tags needed for accessibility. Every list has a parent List tag, a specified amount of List Items, List Item Bodies (dependent on amount of list items), and Labels (optional, also dependent on amount of list items).

- -

Since this is just a tagging operation, you will still need to assign content to the list in a PDF editor.

- -

Parameters

- -
- - - - - - - - - - - - - - - - - -
ParameterPurpose
Title (Optional)The title of the parent List tag. Used by the remediator for identification.
List AmountThe amount of List Items to generate.
Add labelsIf selected, each List Item will contain a Label tag.
-
- -

Output

- -

- Output with a title of "Example", 20 list items, and labels. -

- -Generated list. Contains a parent list tag, twenty list items each with a label and a list item body. The title is 'example title' - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("listGen", 1, "List Generator")); - list.Add(new TocItem("parameters", 2, "Parameters")); - list.Add(new TocItem("output", 2, "Output")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Tools/TableGenerator.razor b/Pages/Docs/Content/Tools/TableGenerator.razor deleted file mode 100644 index 6a51344..0000000 --- a/Pages/Docs/Content/Tools/TableGenerator.razor +++ /dev/null @@ -1,59 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/tools/table" -@page "/docs/tools/tablegenerator" -@page "/docs/tools/table-generator" -@page "/docs/tools/table_generator" - -

Table Generator

- -

This tool lets you create a table with all the required elements. You must enter the amount of rows and columns that you want generated. The first row will automatically contain header cells. You can optionally enter a title.

- -

Since this is just a tagging operation, you will still need to assign content to the table in a PDF editor.

- -

Parameters

- -
- - - - - - - - - - - - - - - - - -
ParameterPurpose
Title (Optional)The title of the parent Table tag. Used by the remediator for identification.
Column AmountThe amount of columns to generate. This determines the amount of Table Data Cells (TD) per row.
Row AmountThe amount of rows to generate.
-
- -

Output

- -

- Output with a title of "Example", 20 rows, and 4 columns. -

- -Generated table. Contains a parent table tag and twenty rows each with 4 columns. The first row contains header cells. The title is 'example title' - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("tableGen", 1, "Table Generator")); - list.Add(new TocItem("parameters", 2, "Parameters")); - list.Add(new TocItem("output", 2, "Output")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Tools/TagGenerator.razor b/Pages/Docs/Content/Tools/TagGenerator.razor deleted file mode 100644 index f63a85c..0000000 --- a/Pages/Docs/Content/Tools/TagGenerator.razor +++ /dev/null @@ -1,59 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/tools/tag" -@page "/docs/tools/taggenerator" -@page "/docs/tools/tag-generator" -@page "/docs/tools/tag_generator" - -

Tag Generator

- -

This tool lets you create any tag dynamically. Simply enter the type of tag that you want and the amount. The tag(s) will be generated when the task is ran. Unlike the List/Table generators, this Task only generates the specified tag. Generating a List will not generate the required LI, Lbls, and LBody tags. If you need the full structure consider using those other tools instead.

- -

Since this is just a tagging operation, you will still need to assign content to the tag in a PDF editor.

- -

Parameters

- -
- - - - - - - - - - - - - - - - - -
ParameterPurpose
Group Title (Optional)If a title is chosen, a parent Div tag will be generated. All the tags will be contained within that parent. Used by the remediator for identification.
Tag AmountThe amount of tags to generate.
Tag TypeThe type of tag to generate. You can generate any tag, but you are responsible for making sure that the structure conforms to accessibility requirements.
-
- -

Output

- -

- Output with a group title of "Example" and 5 H6 tags. -

- -Generated structure. There is a parent Div with 5 header 6 elements as the children. The title is 'example title' - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("tagGen", 1, "Tag Generator")); - list.Add(new TocItem("parameters", 2, "Parameters")); - list.Add(new TocItem("output", 2, "Output")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Content/Tools/Tools.razor b/Pages/Docs/Content/Tools/Tools.razor deleted file mode 100644 index db050bf..0000000 --- a/Pages/Docs/Content/Tools/Tools.razor +++ /dev/null @@ -1,32 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout -@using Pdf_Acc_Toolset.Services.UI; -@page "/docs/tools" - -

Tools

- -

Tools are the primary way to modify a PDF using the toolset. Each tool has a specific purpose.

- -

Tool Documentation

- - - -@code { - protected override void OnInitialized() - { - // Make a new list of toc items - List list = new List(); - // Set the items - list.Add(new TocItem("header", 1, "Tools")); - list.Add(new TocItem("toolList", 2, "Tool List")); - // Send to TOC service - TocService.SetToc(list); - base.OnInitialized(); - } -} diff --git a/Pages/Docs/Documentation.razor b/Pages/Docs/Documentation.razor deleted file mode 100644 index 8f3fed2..0000000 --- a/Pages/Docs/Documentation.razor +++ /dev/null @@ -1,12 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@page "/docs" - -

Documentation

- -

- Welcome to the docs! These pages contain all of the info related to the project. If you can't find what you are looking for, consider making an issue. -

- -

- Select a page from the left-hand navigation menu. When you are done reading, return to the edit section. To avoid losing any PDF that is in the edit process, do not close this tab! You must return to the edit section from the nav menu as opening a new tab counts as a new instance of the application. -

\ No newline at end of file diff --git a/Pages/Docs/_Imports.razor b/Pages/Docs/_Imports.razor deleted file mode 100644 index ca195b4..0000000 --- a/Pages/Docs/_Imports.razor +++ /dev/null @@ -1,2 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@layout DocumentationLayout \ No newline at end of file diff --git a/Pages/Index.razor b/Pages/Index.razor index b91c27e..22d1f45 100644 --- a/Pages/Index.razor +++ b/Pages/Index.razor @@ -9,7 +9,7 @@

PDF Accessibility Toolset

Welcome to the Toolset! This app will help you with the accessibility remediation process of PDFs. Feel free to read - our Documentation or experiment yourself.

+ our Documentation or experiment yourself.

We suggest you keep your original document in case you decide to revert changes.


diff --git a/Pages/Tools/ColorReplacer.razor b/Pages/Tools/ColorReplacer.razor index b829a38..2d7101c 100644 --- a/Pages/Tools/ColorReplacer.razor +++ b/Pages/Tools/ColorReplacer.razor @@ -12,7 +12,7 @@

Find a given color of text or a path and replace it. This is primarily used to fix color contrast issues. - See Documentation for more information. + See Documentation for more information.

This tool requires a target and replacement color to be specified. This only applies to paths (shapes) and text. Images, X-Objects, and other elements are not included. Fill is the inner color and stroke is the outer color.

diff --git a/README.md b/README.md index 08178a3..390c6fe 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ While the end goal is to remove Acrobat (and any paid tool) from the accessibili ![Task Queue](https://github.com/aMytho/Pdf-Acc-Toolset/assets/58316242/907eb38b-eb18-421a-acd2-8cd2fae5e56b) ## Documentation -The project docs are built into the application. They can be accessed [here](https://pdf-accessibility.tools/docs) +The project docs are hosted on a separate website. They can be accessed [here](https://docs.pdf-accessibility.tools/docs) ## Installation for Development diff --git a/Shared/DocumentationLayout.razor b/Shared/DocumentationLayout.razor deleted file mode 100644 index 3d3f0b9..0000000 --- a/Shared/DocumentationLayout.razor +++ /dev/null @@ -1,50 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@inherits LayoutComponentBase -@using Pdf_Acc_Toolset.Services.UI - -
- - -
- - -
-
- @Body -
- -
- @if (tocItems.Count > 0) { -

Table of Contents

- } - @foreach (TocItem item in tocItems) - { -
- -
- } -
-
- - @* Override the blazor link handling for these pages *@ - -
-
- -@code { - private List tocItems = new List(); - protected override void OnInitialized() - { - TocService.tocChanged += GenerateToc; - base.OnInitialized(); - } - - private void GenerateToc(object sender, List list) - { - @* Console.WriteLine("Items Changed"); - tocItems = list; - StateHasChanged(); *@ - } -} \ No newline at end of file diff --git a/Shared/DocumentationLayout.razor.css b/Shared/DocumentationLayout.razor.css deleted file mode 100644 index 15858bf..0000000 --- a/Shared/DocumentationLayout.razor.css +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset */ -.nav-child { - margin-left: 1.5rem; -} - -.page { - position: relative; - display: flex; - flex-direction: column; -} - -main { - flex: 1; -} - -.sidebar { - background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); -} - - -@media (min-width: 641px) { - .page { - flex-direction: row; - } - - .sidebar { - width: 250px; - height: 100vh; - position: sticky; - top: 0; - } - - article { - padding-left: 2rem !important; - padding-right: 1.5rem !important; - } -} diff --git a/Shared/LocalNavigation.razor b/Shared/LocalNavigation.razor deleted file mode 100644 index 0d3acce..0000000 --- a/Shared/LocalNavigation.razor +++ /dev/null @@ -1,17 +0,0 @@ -@* Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset *@ -@inject IJSRuntime JSRuntime - - - -@code { - [Parameter] - public string elemId { get; set; } - - [Parameter] - public string label { get; set; } - - private async void OnClick() - { - await JSRuntime.InvokeVoidAsync("BlazorScrollToId", elemId); - } -} \ No newline at end of file diff --git a/Shared/MainLayout.razor b/Shared/MainLayout.razor index fe7ecc9..0e41c7a 100644 --- a/Shared/MainLayout.razor +++ b/Shared/MainLayout.razor @@ -3,7 +3,7 @@
diff --git a/Shared/NavMenu.razor b/Shared/NavMenu.razor index b9f323b..e6d2a52 100644 --- a/Shared/NavMenu.razor +++ b/Shared/NavMenu.razor @@ -12,112 +12,47 @@
@code { - [Parameter] - public NavMenus menu { get; set;} - private bool collapseNavMenu = false; private string NavMenuCssClass => collapseNavMenu ? "collapse" : null; @@ -147,12 +82,4 @@ base.OnInitialized(); } - - - // Set the nav menu based on its environment - public enum NavMenus - { - Main, - Docs - } } From 4443c84d3b9f852ae6bf393736ee9eeb953ff105 Mon Sep 17 00:00:00 2001 From: MythoAway7 <58316242+MythoAway7@users.noreply.github.com> Date: Sat, 20 Jan 2024 15:25:57 -0600 Subject: [PATCH 2/2] Add missing doc link replacements --- Pages/Tools/ColorReplacer.razor | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pages/Tools/ColorReplacer.razor b/Pages/Tools/ColorReplacer.razor index 2d7101c..5e8486f 100644 --- a/Pages/Tools/ColorReplacer.razor +++ b/Pages/Tools/ColorReplacer.razor @@ -12,7 +12,7 @@

Find a given color of text or a path and replace it. This is primarily used to fix color contrast issues. - See Documentation for more information. + See Documentation for more information.

This tool requires a target and replacement color to be specified. This only applies to paths (shapes) and text. Images, X-Objects, and other elements are not included. Fill is the inner color and stroke is the outer color.

diff --git a/README.md b/README.md index 390c6fe..d7c97fd 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ While the end goal is to remove Acrobat (and any paid tool) from the accessibili ![Task Queue](https://github.com/aMytho/Pdf-Acc-Toolset/assets/58316242/907eb38b-eb18-421a-acd2-8cd2fae5e56b) ## Documentation -The project docs are hosted on a separate website. They can be accessed [here](https://docs.pdf-accessibility.tools/docs) +The project docs are hosted on a separate website. They can be accessed [here](https://docs.pdf-accessibility.tools/docs/workflow/) ## Installation for Development