Skip to content

Commit f994fa0

Browse files
committed
docs: Fix broken paths
1 parent 4b21f7b commit f994fa0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ See donation options at <https://www.git-pull.com/support.html>.
8888
- Changelog: <https://libvcs.git-pull.com/history.html>
8989
- API:
9090
- [`libvcs.cmd`](https://libvcs.git-pull.com/cmd/): Commands
91-
- [`libvcs.states`](https://libvcs.git-pull.com/states/): High-level synchronization commands
91+
- [`libvcs.projects`](https://libvcs.git-pull.com/projects/): High-level synchronization commands
9292
- Issues: <https://github.com/vcs-python/libvcs/issues>
9393
- Test Coverage: <https://codecov.io/gh/vcs-python/libvcs>
9494
- pypi: <https://pypi.python.org/pypi/libvcs>

libvcs/projects/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class VCSLocation(NamedTuple):
1616

1717

1818
def convert_pip_url(pip_url: str) -> VCSLocation:
19-
"""Return repo URL and revision by parsing `libvcs.base.BaseProject.url`."""
19+
"""Return repo URL and revision by parsing `libvcs.projects.base.BaseProject.url`."""
2020
error_message = (
2121
"Sorry, '%s' is a malformed VCS url. "
2222
"The format is <vcs>+<protocol>://<url>, "
@@ -129,12 +129,12 @@ def run(
129129
"""Return combined stderr/stdout from a command.
130130
131131
This method will also prefix the VCS command bin_name. By default runs
132-
using the cwd `libvcs.base.BaseProject.dir` of the repo.
132+
using the cwd `libvcs.projects.base.BaseProject.dir` of the repo.
133133
134134
Parameters
135135
----------
136136
cwd : str
137-
dir command is run from, defaults to `libvcs.base.BaseProject.dir`.
137+
dir command is run from, defaults to `libvcs.projects.base.BaseProject.dir`.
138138
139139
check_returncode : bool
140140
Indicate whether a :exc:`~exc.CommandError` should be raised if return code

libvcs/projects/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def __init__(
162162
.. code-block:: python
163163
164164
import os
165-
from libvcs.git import GitProject
165+
from libvcs.projects.git import GitProject
166166
167167
checkout = pathlib.Path(__name__) + '/' + 'my_libvcs'
168168
@@ -177,7 +177,7 @@ def __init__(
177177
.. code-block:: python
178178
179179
import os
180-
from libvcs.git import GitProject
180+
from libvcs.projects.git import GitProject
181181
182182
checkout = pathlib.Path(__name__) + '/' + 'my_libvcs'
183183

0 commit comments

Comments
 (0)