Skip to content

Commit

Permalink
Update Readme Fixes #43 (#44)
Browse files Browse the repository at this point in the history
This pull request includes several documentation updates and
improvements to the `fabric-cicd` project. The most important changes
include updating the section overview in the `README.md`, renaming the
`help.md` file to `about.md`, adding installation instructions for the
private preview, and updating the navigation in the `mkdocs.yml` file.

Documentation updates:

*
[`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L20-R25):
Updated the section overview links to reflect the new structure and
consolidated support and security policies under the "About" section.
* `docs/help.md` renamed to `docs/about.md`: Renamed the file to better
reflect its content, which includes support and security information.
*
[`docs/index.md`](diffhunk://#diff-b4d68dc855d0f9476d3f2ee343853bd21bf82ea9960d0cf06661baa244439dd6R25-R48):
Added installation instructions for the private preview and included a
basic example of how to use the `fabric-cicd` library.

Configuration updates:

*
[`mkdocs.yml`](diffhunk://#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2L18-R18):
Updated the navigation to reflect the renaming of the `help.md` file to
`about.md`.
  • Loading branch information
JacobKnightley authored Jan 21, 2025
1 parent 2fb432b commit 5d15231
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 10 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ fabric-cicd is a Python library designed for use with [Microsoft Fabric](https:/

All documentation is hosted on our [fabric-cicd](https://microsoft.github.io/fabric-cicd/) GitHub Pages

- [Getting Started](https://microsoft.github.io/fabric-cicd/)
- [Examples](https://microsoft.github.io/fabric-cicd/example/)
- [Code Reference](https://microsoft.github.io/fabric-cicd/code_reference/)
- [Contribution](https://microsoft.github.io/fabric-cicd/contribution/)
- [Changelog](https://microsoft.github.io/fabric-cicd/changelog/)
- [Support](https://microsoft.github.io/fabric-cicd/help/#support)
- [Security](https://microsoft.github.io/fabric-cicd/help/#security)
- [License](https://microsoft.github.io/fabric-cicd/help/#license)
Section Overview:
- [Home](https://microsoft.github.io/fabric-cicd/latest/)
- [How To](https://microsoft.github.io/fabric-cicd/latest/how_to/)
- [Contribution](https://microsoft.github.io/fabric-cicd/latest/contribution/)
- [Changelog](https://microsoft.github.io/fabric-cicd/latest/changelog/)
- [About](https://microsoft.github.io/fabric-cicd/latest/help/) - Inclusive of Support & Security Policies

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/help.md → docs/about.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Help
# About

## Support

Expand Down
24 changes: 24 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,27 @@ To install fabric-cicd, run:
```bash
pip install fabric-cicd
```
While in private preview, to install fabric-cicd, run:

```bash
pip install --upgrade --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ fabric-cicd
```

## Basic Example

```python
from fabric_cicd import FabricWorkspace, publish_all_items, unpublish_all_orphan_items

# Initialize the FabricWorkspace object with the required parameters
target_workspace = FabricWorkspace(
workspace_id = "your-workspace-id",
repository_directory = "your-repository-directory",
item_type_in_scope = ["Notebook", "DataPipeline", "Environment"],
)

# Publish all items defined in item_type_in_scope
publish_all_items(target_workspace)

# Unpublish all items defined in item_type_in_scope not found in repository
unpublish_all_orphan_items(target_workspace)
```
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nav:
- Code Reference: code_reference.md
- Contribution: contribution.md
- Changelog: changelog.md
- Help: help.md
- About: about.md

theme:
name: material
Expand Down

0 comments on commit 5d15231

Please sign in to comment.