2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +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. you to add them for large changes.
- **Documentation**: If the feature being added requires an explanation then - **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. [frappe/books_docs](https://github.com/frappe/books_docs) repository.
_Add a link to the documentation PR in your feature PR._ _Add a link to the documentation PR in your feature PR._
- **Tests**: If your features alters business logic then tests should be added. - **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. > 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"> <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"/> <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. 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"/> <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 ## Installation
Download and install the latest release for your platform from the [releases Download and install the latest release for your platform from the [releases
page](https://github.com/frappe/books/releases) or the [download page](https://github.com/frappe/books/releases) .
page](https://frappebooks.com/download).
## Development ## Development

View File

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

View File

@ -307,7 +307,7 @@ export default defineComponent({
}, },
methods: { methods: {
openDocs() { openDocs() {
ipc.openLink('https://docs.frappebooks.com/' + docsPathMap.Search); ipc.openLink('https://docs.frappe.io/' + docsPathMap.Search);
}, },
getShortcuts() { getShortcuts() {
const ifOpen = (cb: Function) => () => this.openModal && cb(); 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`, description: t`Review your chart of accounts, add any account or tax heads as needed`,
action: () => routeTo('/chart-of-accounts'), action: () => routeTo('/chart-of-accounts'),
fieldname: 'chartOfAccountsReviewed', fieldname: 'chartOfAccountsReviewed',
documentation: documentation: 'https://docs.frappe.io/books/chart-of-accounts',
'https://docs.frappebooks.com/setting-up/initial-entries.html#add-additional-bank-accounts',
}, },
{ {
key: 'Opening Balances', key: 'Opening Balances',
@ -54,8 +53,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
icon: 'opening-ac', icon: 'opening-ac',
fieldname: 'openingBalanceChecked', fieldname: 'openingBalanceChecked',
description: t`Set up your opening balances before performing any accounting entries`, description: t`Set up your opening balances before performing any accounting entries`,
documentation: documentation: 'https://docs.frappe.io/books/setup-opening-balances',
'https://docs.frappebooks.com/setting-up/opening-balances.html',
}, },
{ {
key: 'Add Taxes', key: 'Add Taxes',
@ -65,7 +63,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
description: t`Set up your tax templates for your sales or purchase transactions`, description: t`Set up your tax templates for your sales or purchase transactions`,
action: () => routeTo('/list/Tax'), action: () => routeTo('/list/Tax'),
documentation: 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', fieldname: 'salesItemCreated',
documentation: 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', key: 'Add Customers',
@ -102,7 +100,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
}), }),
fieldname: 'customerCreated', fieldname: 'customerCreated',
documentation: 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', key: 'Create Sales Invoice',
@ -111,8 +109,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
description: t`Create your first sales invoice for the created customer`, description: t`Create your first sales invoice for the created customer`,
action: () => routeTo('/list/SalesInvoice'), action: () => routeTo('/list/SalesInvoice'),
fieldname: 'invoiceCreated', fieldname: 'invoiceCreated',
documentation: documentation: 'https://docs.frappe.io/books/sales-invoices',
'https://docs.frappebooks.com/transactions/sales-invoices.html',
}, },
], ],
}, },
@ -153,7 +150,7 @@ export function getGetStartedConfig(): GetStartedConfigItem[] {
action: () => routeTo('/list/PurchaseInvoice'), action: () => routeTo('/list/PurchaseInvoice'),
fieldname: 'billCreated', fieldname: 'billCreated',
documentation: 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', [ModelNameEnum.PrintTemplate]: 'books/print-templates',
// Miscellaneous // Miscellaneous
Search: 'books/search', Search: 'books/quick-search',
NumberSeries: 'books/number-series', NumberSeries: 'books/number-series',
ImportWizard: 'books/import-wizard', ImportWizard: 'books/import-wizard',
Settings: 'books/settings', Settings: 'books/settings',