Skip to content

Commit f8705cf

Browse files
committed
Inline rustdoc for better tool integration
Signed-off-by: Andrew Stein <[email protected]>
1 parent 8f8a02e commit f8705cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1597
-1757
lines changed

packages/perspective-react/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@finos/perspective-react",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"description": "",
55
"main": "index.js",
66
"keywords": [],
@@ -17,6 +17,9 @@
1717
"build": "node ./build.js",
1818
"clean": "rimraf dist"
1919
},
20+
"publishConfig": {
21+
"access": "public"
22+
},
2023
"peerDependencies": {
2124
"@finos/perspective": "workspace:^",
2225
"@finos/perspective-viewer": "workspace:^",

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/generate-metadata/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ fn generate_exprtk_docs() -> Result<(), Box<dyn Error>> {
5555
)?;
5656
}
5757

58+
fs::create_dir_all("../perspective-client/docs/")?;
5859
fs::write("../perspective-client/docs/expression_gen.md", txt)?;
5960
Ok(())
6061
}

rust/perspective-client/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ include = [
3030
"perspective.proto",
3131
]
3232

33-
[package.metadata.docs.rs]
34-
rustdoc-args = ["--html-in-header", "docs/index.html"]
35-
3633
[features]
3734
default = []
3835

rust/perspective-client/build.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ use std::io::Result;
1414
use std::path::Path;
1515

1616
fn prost_build() -> Result<()> {
17-
// Output the path to docs files so they can be shared by `perspective-js` and
18-
// `perspective-python`.
19-
println!(
20-
"cargo::metadata=DOCS_PATH={}/docs/",
21-
std::env::var("CARGO_MANIFEST_DIR").unwrap()
22-
);
23-
2417
// This source file is included at `publish` time, but not `sbuild` time
2518
// because it is initially generated from the `perspective.proto` definition
2619
// in the C++ source.

rust/perspective-client/docs/client.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

rust/perspective-client/docs/client/get_hosted_table_names.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

rust/perspective-client/docs/client/on_hosted_tables_update.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

rust/perspective-client/docs/client/open_table.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

rust/perspective-client/docs/client/remove_hosted_tables_update.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)