Skip to content

Commit

Permalink
fix: invalid doc urls
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Aug 8, 2024
1 parent 0420228 commit 5cadfdf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand All @@ -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"/>

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"singleQuote": true,
"trailingComma": "es5"
},
"homepage": "https://frappebooks.com",
"homepage": "https://frappe.io/books",
"repository": {
"url": "https://github.com/frappe/books"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
17 changes: 7 additions & 10 deletions src/utils/getStartedConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,15 @@ 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',
label: t`Opening Balances`,
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',
Expand All @@ -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',
},
],
},
Expand All @@ -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',
Expand All @@ -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',
Expand All @@ -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',
},
],
},
Expand Down Expand Up @@ -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',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5cadfdf

Please sign in to comment.