Skip to content

Commit

Permalink
Merge pull request #2096 from allmightyspiff/issues2095
Browse files Browse the repository at this point in the history
Fixing sphinx-build issues
  • Loading branch information
allmightyspiff committed Sep 29, 2023
2 parents 17d8219 + 68c89b6 commit 2130aa5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 199 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -42,6 +42,12 @@ Docs are generated with [Sphinx](https://docs.readthedocs.io/en/latest/intro/get

`make html` in the softlayer-python/docs directory, which should generate the HTML in `softlayer-python/docs/_build/html` for testing.

For windows, use:
```
cd docs
sphinx-build -b html -d _build/doctrees . _build/html
```


## Unit Tests

Expand Down
192 changes: 0 additions & 192 deletions Makefile

This file was deleted.

10 changes: 6 additions & 4 deletions SoftLayer/CLI/bandwidth/pools_create.py
Expand Up @@ -25,10 +25,11 @@


def check_region_param(ctx, param, value): # pylint: disable=unused-argument
"""Check if provided region is region group or part of region"""
"""Check if provided region is region group or part of region
# :params string value: Region or Region-Groups
# return string Region-Groups
:params string value: Region or Region-Groups
return string Region-Groups
"""

region_group = None
for key in location_groups:
Expand All @@ -53,10 +54,11 @@ def cli(env, name, region):
"""Create bandwidth pool.
Region can be the full zone name 'SJC/DAL/WDC/TOR/MON', or just a single datacenter like 'SJC'.
Example::
slcli bandwidth pool-create --name testPool --region DAL
slcli bandwidth pool-create --name testPool --region SJC/DAL/WDC/TOR/MON
"""
"""

manager = BandwidthManager(env.client)
locations = manager.get_location_group()
Expand Down
6 changes: 3 additions & 3 deletions docs/cli/bandwidth.rst
@@ -1,7 +1,7 @@
.. _cli_account:
.. _cli_bandwidth:

bandwidth Commands
=================
Bandwidth Commands
==================


.. click:: SoftLayer.CLI.bandwidth.pools:cli
Expand Down

0 comments on commit 2130aa5

Please sign in to comment.