2
0
mirror of https://github.com/frappe/books.git synced 2024-09-19 19:19:02 +00:00

fix: invalid doc urls

This commit is contained in:
AbleKSaju 2024-08-08 16:57:36 +05:30
parent 04202280cd
commit 5cadfdfd78
6 changed files with 13 additions and 18 deletions

View File

@ -93,7 +93,7 @@ We know documentation and tests are boring, but they're important and we need
you to add them for large changes.
- **Documentation**: If the feature being added requires an explanation then
[documentation](https://docs.frappebooks.com/) should be updated in the
[documentation](https://docs.frappe.io/books/) should be updated in the
[frappe/books_docs](https://github.com/frappe/books_docs) repository.
_Add a link to the documentation PR in your feature PR._
- **Tests**: If your features alters business logic then tests should be added.

View File

@ -2,7 +2,6 @@
>
> Frappe Books is looking for a maintainer, please view [#775](https://github.com/frappe/books/issues/775) for more info.
<div align="center" markdown="1">
<img src="https://user-images.githubusercontent.com/29507195/207267672-d422db6c-d89a-4bbe-9822-468a55c15053.png" alt="Frappe Books logo" width="384"/>
@ -15,7 +14,7 @@
Free Desktop book-keeping software for small businesses and freelancers.
[frappebooks.com](https://frappebooks.com/)
[frappe.io/books](https://frappe.io/books/)
<img src="https://user-images.githubusercontent.com/29507195/207267857-4ae48890-3fb2-4046-80cf-3256b46c72a0.png" alt="Frappe Books Preview"/>
@ -54,8 +53,7 @@ Free Desktop book-keeping software for small businesses and freelancers.
## Installation
Download and install the latest release for your platform from the [releases
page](https://github.com/frappe/books/releases) or the [download
page](https://frappebooks.com/download).
page](https://github.com/frappe/books/releases) .
## Development

View File

@ -90,7 +90,7 @@
"singleQuote": true,
"trailingComma": "es5"
},
"homepage": "https://frappebooks.com",
"homepage": "https://frappe.io/books",
"repository": {
"url": "https://github.com/frappe/books"
},

View File

@ -307,7 +307,7 @@ export default defineComponent({
},
methods: {
openDocs() {
ipc.openLink('https://docs.frappebooks.com/' + docsPathMap.Search);
ipc.openLink('https://docs.frappe.io/' + docsPathMap.Search);
},
getShortcuts() {
const ifOpen = (cb: Function) => () => this.openModal && cb();

View File

@ -45,8 +45,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
description: t`Review your chart of accounts, add any account or tax heads as needed`,
action: () => routeTo('/chart-of-accounts'),
fieldname: 'chartOfAccountsReviewed',
documentation:
'https://docs.frappebooks.com/setting-up/initial-entries.html#add-additional-bank-accounts',
documentation: 'https://docs.frappe.io/books/chart-of-accounts',
},
{
key: 'Opening Balances',
@ -54,8 +53,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
icon: 'opening-ac',
fieldname: 'openingBalanceChecked',
description: t`Set up your opening balances before performing any accounting entries`,
documentation:
'https://docs.frappebooks.com/setting-up/opening-balances.html',
documentation: 'https://docs.frappe.io/books/setup-opening-balances',
},
{
key: 'Add Taxes',
@ -65,7 +63,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
description: t`Set up your tax templates for your sales or purchase transactions`,
action: () => routeTo('/list/Tax'),
documentation:
'https://docs.frappebooks.com/setting-up/initial-entries.html#add-taxes',
'https://docs.frappe.io/books/create-initial-entries#add-taxes',
},
],
},
@ -86,7 +84,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
}),
fieldname: 'salesItemCreated',
documentation:
'https://docs.frappebooks.com/setting-up/initial-entries.html#add-sales-items',
'https://docs.frappe.io/books/create-initial-entries#add-sales-items',
},
{
key: 'Add Customers',
@ -102,7 +100,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
}),
fieldname: 'customerCreated',
documentation:
'https://docs.frappebooks.com/setting-up/initial-entries.html#add-customers',
'https://docs.frappe.io/books/create-initial-entries#add-customers',
},
{
key: 'Create Sales Invoice',
@ -111,8 +109,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
description: t`Create your first sales invoice for the created customer`,
action: () => routeTo('/list/SalesInvoice'),
fieldname: 'invoiceCreated',
documentation:
'https://docs.frappebooks.com/transactions/sales-invoices.html',
documentation: 'https://docs.frappe.io/books/sales-invoices',
},
],
},
@ -153,7 +150,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
action: () => routeTo('/list/PurchaseInvoice'),
fieldname: 'billCreated',
documentation:
'https://docs.frappebooks.com/transactions/purchase-invoices.html',
'https://docs.frappe.io/books/purchase-invoices#creating-purchase-invoices',
},
],
},

View File

@ -132,7 +132,7 @@ export const docsPathMap: Record<string, string | undefined> = {
[ModelNameEnum.PrintTemplate]: 'books/print-templates',
// Miscellaneous
Search: 'books/search',
Search: 'books/quick-search',
NumberSeries: 'books/number-series',
ImportWizard: 'books/import-wizard',
Settings: 'books/settings',