customer docs
This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -48,7 +48,7 @@
|
||||
"AYANOVA_DATA_PATH": "c:\\temp\\ravendata",
|
||||
"AYANOVA_USE_URLS": "http://*:7575;",
|
||||
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
|
||||
"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_SERVER_TEST_MODE": "false",
|
||||
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-8",
|
||||
//"AYANOVA_REPORT_RENDERING_TIMEOUT":"1",
|
||||
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||
|
||||
@@ -7,7 +7,7 @@ rmdir C:\data\code\raven\dist\installers /s/q
|
||||
mkdir C:\data\code\raven\dist\installers
|
||||
|
||||
|
||||
@echo ******************** BUILD DOCS ******************************
|
||||
@echo ******************** BUILD MAIN DOCS ******************************
|
||||
cd c:\data\code\raven\docs\8.0\ayanova
|
||||
mkdocs build
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
@@ -15,6 +15,14 @@ set m=DOCS FAILED TO BUILD
|
||||
goto FAIL
|
||||
)
|
||||
|
||||
@echo ******************** BUILD CUSTOMER DOCS ******************************
|
||||
cd c:\data\code\raven\docs\8.0\customer
|
||||
mkdocs build
|
||||
IF %ERRORLEVEL% NEQ 0 (
|
||||
set m=DOCS FAILED TO BUILD
|
||||
goto FAIL
|
||||
)
|
||||
|
||||
@echo ******************** BUILD CLIENT ****************************
|
||||
cd c:\data\code\raven-client\ayanova
|
||||
call npm run build
|
||||
|
||||
2
docs/8.0/customer/docs/customer-csr.md
Normal file
2
docs/8.0/customer/docs/customer-csr.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# Service requests
|
||||
|
||||
3
docs/8.0/customer/docs/customer-workorders.md
Normal file
3
docs/8.0/customer/docs/customer-workorders.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# CUSTOMER-WORKORDERS
|
||||
|
||||
UNDERCONSTRUCTION
|
||||
BIN
docs/8.0/customer/docs/img/cust-csr-data-table.png
Normal file
BIN
docs/8.0/customer/docs/img/cust-csr-data-table.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
BIN
docs/8.0/customer/docs/img/favicon.ico
Normal file
BIN
docs/8.0/customer/docs/img/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 230 KiB |
1
docs/8.0/customer/docs/img/logo.svg
Normal file
1
docs/8.0/customer/docs/img/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.5 KiB |
10
docs/8.0/customer/docs/index.md
Normal file
10
docs/8.0/customer/docs/index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Welcome to AyaNova
|
||||
|
||||
This manual is accessible locally from the AyaNova `Help` links.
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
<h6>Documentation version: 8.0.0-beta.4, Copyright © 2022 Ground Zero Tech-Works Inc.</h6>
|
||||
25
docs/8.0/customer/mkdocs.yml
Normal file
25
docs/8.0/customer/mkdocs.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
theme:
|
||||
name: material
|
||||
palette:
|
||||
scheme: default
|
||||
favicon: 'img/favicon.ico'
|
||||
logo: 'img/logo.svg'
|
||||
copyright: 'Copyright 2022 Ground Zero Tech-Works Inc.'
|
||||
site_name: AyaNova Customer manual
|
||||
site_dir: '../../../server/AyaNova/wwwroot/cust'
|
||||
strict: true
|
||||
# Extensions
|
||||
markdown_extensions:
|
||||
- pymdownx.highlight:
|
||||
anchor_linenums: true
|
||||
- pymdownx.superfences
|
||||
- toc:
|
||||
permalink: true
|
||||
|
||||
nav:
|
||||
- Home: 'index.md'
|
||||
- User guide:
|
||||
- User interface:
|
||||
- Customer User interface:
|
||||
- 'Workorders': 'customer-workorders.md'
|
||||
- 'Customer service requests': 'customer-csr.md'
|
||||
@@ -1,4 +1,6 @@
|
||||
cd c:\data\code\raven\docs\8.0\ayanova
|
||||
mkdocs build -s
|
||||
cd c:\data\code\raven\docs\8.0\customer
|
||||
mkdocs build -s
|
||||
cd ..\..\..
|
||||
pause
|
||||
|
||||
2
servcustdocs.bat
Normal file
2
servcustdocs.bat
Normal file
@@ -0,0 +1,2 @@
|
||||
cd c:\data\code\raven\docs\8.0\customer
|
||||
mkdocs serve
|
||||
@@ -63,7 +63,7 @@ namespace AyaNova
|
||||
{
|
||||
options.RouteBasePath = "/profiler";
|
||||
//in testing only ignorepaths was reliable and worked and docs say it prevents any profiling at all
|
||||
options.IgnorePath("/auth").IgnorePath("/license").IgnorePath("/user").IgnorePath("/docs").IgnorePath("/custdocs");
|
||||
options.IgnorePath("/auth").IgnorePath("/license").IgnorePath("/user").IgnorePath("/docs").IgnorePath("/cust");
|
||||
options.ResultsAuthorize = request =>
|
||||
{
|
||||
if (request.HttpContext.Items["AY_PROFILER_ALLOWED"] != null)
|
||||
@@ -644,7 +644,7 @@ namespace AyaNova
|
||||
//to support html5 pushstate routing in spa
|
||||
//this ensures that a refresh at the client will not 404 but rather force back to the index.html app page and then handled internally by the client
|
||||
await next();
|
||||
if (!context.Response.HasStarted && !context.Request.Path.Value.StartsWith("/api") && context.Request.Path.Value != "/docs" && context.Request.Path.Value != "/custdocs" && context.Response.StatusCode == 404 && !Path.HasExtension(context.Request.Path.Value))
|
||||
if (!context.Response.HasStarted && !context.Request.Path.Value.StartsWith("/api") && context.Request.Path.Value != "/docs" && context.Request.Path.Value != "/cust" && context.Response.StatusCode == 404 && !Path.HasExtension(context.Request.Path.Value))
|
||||
{
|
||||
context.Request.Path = "/index.html";
|
||||
context.Response.StatusCode = 200;
|
||||
|
||||
Reference in New Issue
Block a user