mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Move phab docs to /documentation (#882)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* dispose.js provides tools to components that needs to dispose of resources, such as
|
||||
* destroy DOM, and unsubscribe from events. The motivation with examples is presented here:
|
||||
*
|
||||
* https://phab.getgrist.com/w/disposal/
|
||||
* /documentation/disposal/disposal.md
|
||||
*/
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@ Object.assign(Disposable.prototype, {
|
||||
}
|
||||
|
||||
// Finish by wiping out the object, since nothing should use it after dispose().
|
||||
// See https://phab.getgrist.com/w/disposal/ for more motivation.
|
||||
// See /documentation/disposal.md for more motivation.
|
||||
wipeOutObject(this);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -938,7 +938,7 @@ export function extractOrgParts(reqHost: string|undefined, reqPath: string): Org
|
||||
orgFromHost = getOrgFromHost(reqHost);
|
||||
if (orgFromHost) {
|
||||
// Some subdomains are shared, and do not reflect the name of an organization.
|
||||
// See https://phab.getgrist.com/w/hosting/v1/urls/ for a list.
|
||||
// See /documentation/urls.md for a list.
|
||||
if (/^(api|v1-.*|doc-worker-.*)$/.test(orgFromHost)) {
|
||||
orgFromHost = null;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ const BLACKLISTED_SUBDOMAINS = new Set([
|
||||
/**
|
||||
*
|
||||
* Checks whether the subdomain is on the list of forbidden subdomains.
|
||||
* See https://phab.getgrist.com/w/hosting/v1/urls/#organization-subdomains
|
||||
* See /documentation/urls.md#organization-subdomains
|
||||
*
|
||||
* Also enforces various sanity checks.
|
||||
*
|
||||
|
||||
@@ -9,7 +9,7 @@ export interface GristTable {
|
||||
// This is documenting what is currently returned by the core plugins. Capitalization
|
||||
// is python-style.
|
||||
//
|
||||
// TODO: could be worth reconciling with: https://phab.getgrist.com/w/grist_data_format/.
|
||||
// TODO: could be worth reconciling with: /documentation/grist-data-format.md.
|
||||
table_name: string | null; // currently allow names to be null
|
||||
column_metadata: GristColumn[];
|
||||
table_data: any[][];
|
||||
|
||||
Reference in New Issue
Block a user