Skip to content

Commit 8d7997a

Browse files
author
Brad Crawford
committed
changed repo name from github_tutorial to python_github_tutorial
1 parent 99dada5 commit 8d7997a

33 files changed

+111
-110
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# github_tutorial
1+
# python_github_tutorial
22

33
## Overview
44

@@ -12,15 +12,15 @@ To be added in the future.
1212

1313
## Installation
1414

15-
The github_tutorial package dependencies can be installed via conda, and this package tagged in conda via pip install:
15+
The python_github_tutorial package dependencies can be installed via conda, and this package tagged in conda via pip install:
1616

1717
Create and install conda package:
1818

19-
`cd path_to_first_github_tutorial_dirctory_with_environment_yml_file`
19+
`cd path_to_first_python_github_tutorial_dirctory_with_environment_yml_file`
2020

2121
`conda env create -f environment.yml`
2222

23-
`conda activate github_tutorial`
23+
`conda activate python_github_tutorial`
2424

2525
`pip install -e .`
2626

@@ -30,7 +30,7 @@ Note: If you update the conda package, you may have to redo the pip install. Wi
3030

3131
## Run the example
3232

33-
This is an example of the supplimentary functions in the utils directory (github_tutorial/utils) and the main function in the main_functions directory (github_tutorial/main_functions).
33+
This is an example of the supplimentary functions in the utils directory (python_github_tutorial/utils) and the main function in the main_functions directory (python_github_tutorial/main_functions).
3434

3535
The example is located here 'examples_to_run/examples.py'. The instructions to run it are provided below:
3636

@@ -47,28 +47,28 @@ When using Visual Studios Code (VScode), the '# %%' above each section makes it
4747

4848
## Run the test cases (unit tests) using pytest
4949

50-
The github_tutorial software tests the installation using `pytest <https://docs.pytest.org/en/stable/>`_.
50+
The python_github_tutorial software tests the installation using `pytest <https://docs.pytest.org/en/stable/>`_.
5151
The unit tests via ``pytest`` ensure that the code is build properly, running correctly and producing
5252
accurate results.
5353

54-
To perform these tests (unit tests) for the github_tutorial package, please run the following commands
55-
from the ``github_tutorial/tests`` directory:
54+
To perform these tests (unit tests) for the python_github_tutorial package, please run the following commands
55+
from the ``python_github_tutorial/tests`` directory:
5656

5757
Run all the tests:
5858

59-
`cd github_tutorial/tests`
59+
`cd python_github_tutorial/tests`
6060

6161
`pytest -v`
6262

6363
Run individual test on 'test_math.py':
6464

65-
`cd github_tutorial/tests`
65+
`cd python_github_tutorial/tests`
6666

6767
`pytest test_math.py`
6868

6969
Run individual test on 'test_main_functions.py':
7070

71-
`cd github_tutorial/tests`
71+
`cd python_github_tutorial/tests`
7272

7373
`pytest test_main_functions.py`
7474

@@ -78,9 +78,9 @@ Building these HTML files locally via sphinx, which will allow you to access the
7878
local internet browsing application or HTML viewer (chrome, safari, VScode, etc.).
7979
The HTML files will be located in the ``docs/_build/html`` directory after they are built.
8080

81-
The github_tutorial utilizes `sphinx <https://www.sphinx-doc.org/en/master/index.html>`_ to construct the documentation.
81+
The python_github_tutorial utilizes `sphinx <https://www.sphinx-doc.org/en/master/index.html>`_ to construct the documentation.
8282
The user can build the documentation locally by executing the following command from the ``docs`` directory:
8383

84-
`conda activate github_tutorial`
84+
`conda activate python_github_tutorial`
8585

8686
`make html`

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# github_tutorial documentation build configuration file, created
3+
# python_github_tutorial documentation build configuration file, created
44
# on Wed Aug 8 2023.
55
#
66

@@ -59,9 +59,9 @@
5959
6060
<div class="admonition note">
6161
<p>This page was generated from
62-
<a class="reference external" href="https://github.com/bcrawford39GT/github_tutorial/blob/{{ env.config.release|e }}/{{ docname|e }}">{{ docname|e }}</a>.
62+
<a class="reference external" href="https://github.com/pace-gatech/python_github_tutorial/blob/{{ env.config.release|e }}/{{ docname|e }}">{{ docname|e }}</a>.
6363
<br>Interactive online version:
64-
<a href="https://mybinder.org/v2/gh/bcrawford39GT/github_tutorial/github_tutorial/master?filepath={{ docname|e }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>.
64+
<a href="https://mybinder.org/v2/gh/pace-gatech/python_github_tutorial/main?filepath={{ docname|e }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>.
6565
</p>
6666
</div>
6767
@@ -114,7 +114,7 @@
114114
master_doc = "index"
115115

116116
# General information about the project.
117-
project = "github_tutorial"
117+
project = "python_github_tutorial"
118118
author = ""
119119
copyright = ""
120120

@@ -260,7 +260,7 @@
260260
# html_file_suffix = None
261261

262262
# Output file base name for HTML help builder.
263-
htmlhelp_basename = "github_tutorial_doc"
263+
htmlhelp_basename = "python_github_tutorial_doc"
264264

265265
# -- Options for LaTeX output ---------------------------------------------
266266

@@ -298,7 +298,7 @@
298298
# Grouping the document tree into LaTeX files. List of tuples
299299
# (source start file, target name, title,
300300
# author, documentclass [howto, manual, or own class]).
301-
latex_documents = [(latex_master_doc, "github_tutorial.tex", project, author, "howto")]
301+
latex_documents = [(latex_master_doc, "python_github_tutorial.tex", project, author, "howto")]
302302
latex_show_urls = "footnote"
303303
latex_show_pagerefs = False
304304

docs/environment_docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: github_tutorial_docs
1+
name: python_github_tutorial_docs
22
channels:
33
- conda-forge
44
- defaults
55
dependencies:
66
- python
7+
- numpy
78
- pytest
89
- pip
910
- mock

docs/getting_started/installation/installation.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Install an editable version from the source (GitHub)
66
----------------------------------------------------
77
::
88

9-
$ cd path_to_first_github_tutorial_dirctory_with_environment_yml_file
9+
$ cd path_to_first_python_github_tutorial_dirctory_with_environment_yml_file
1010

1111
$ conda env create -f environment.yml
1212

13-
$ conda activate github_tutorial
13+
$ conda activate python_github_tutorial
1414

1515
$ pip install -e .
1616

@@ -22,24 +22,24 @@ Building these HTML files locally via sphinx, which will allow you to access the
2222
local internet browsing application or HTML viewer (chrome, safari, VScode, etc.).
2323
The HTML files will be located in the ``docs/_build/html`` directory after they are built.
2424

25-
The github_tutorial utilizes `sphinx <https://www.sphinx-doc.org/en/master/index.html>`_ to construct the documentation.
25+
The python_github_tutorial utilizes `sphinx <https://www.sphinx-doc.org/en/master/index.html>`_ to construct the documentation.
2626
The user can build the documentation locally by executing the following command from the ``docs`` directory::
2727
28-
$ conda activate github_tutorial
28+
$ conda activate python_github_tutorial
2929
3030
$ make html
3131

3232

3333
Testing the software installation
3434
----------------------------------
3535

36-
The github_tutorial software tests the installation using `pytest <https://docs.pytest.org/en/stable/>`_.
36+
The python_github_tutorial software tests the installation using `pytest <https://docs.pytest.org/en/stable/>`_.
3737
The unit tests via ``pytest`` ensure that the code is build properly, running correctly and producing
3838
accurate results.
3939

40-
To perform these tests (unit tests) for the github_tutorial package, please run the following commands
41-
from the ``github_tutorial/tests`` directory::
40+
To perform these tests (unit tests) for the python_github_tutorial package, please run the following commands
41+
from the ``python_github_tutorial/tests`` directory::
4242

43-
$ conda activate github_tutorial
43+
$ conda activate python_github_tutorial
4444
4545
$ pytest -v

docs/getting_started/quick_start/add_2_numbers_example.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ In general, you will add a detailed description for the example.
88
All the classes and functions should not be listed in the examples.
99
Only the functions that the users will typically use should be listed here.
1010

11-
Import and use the github_tutorial ``add_2_numbers`` function.
11+
Import and use the python_github_tutorial ``add_2_numbers`` function.
1212

1313
.. code:: ipython3
1414
15-
from github_tutorial.utils.math import add_2_numbers
15+
from python_github_tutorial.utils.math import add_2_numbers
1616
1717
# Enter the two (2) input variables numbers.
1818
no_0 = 1

docs/getting_started/quick_start/math_function_class_example.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ the example.
88
All the classes and functions should not be listed in the examples.
99
Only the functions that the users will typically use should be listed here.
1010

11-
Import and use the github_tutorial ``MathFunctionClass`` class.
11+
Import and use the python_github_tutorial ``MathFunctionClass`` class.
1212

1313
.. code:: ipython3
1414
15-
from github_tutorial.main_functions.main_functions import MathFunctionClass
15+
from python_github_tutorial.main_functions.main_functions import MathFunctionClass
1616
1717
# enter the two (2) values to use
1818
entered_value_0 = 100

docs/getting_started/quick_start/quick_start_toc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Quick Start
33
-----------------------
44

5-
This Quick Start guide for the github_tutorials repository is provided to help users
5+
This Quick Start guide for the python_github_tutorials repository is provided to help users
66
start using the sofware for the most common needs, without an extensive code and
77
documentation review.
88

docs/getting_started/quick_start/tutorials.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Tutorials
22
=========
33

44

5-
There are not tutorials for this github_tutorial repository.
5+
There are not tutorials for this python_github_tutorial repository.
66

77
When building your own tutorials section, add the tutorials below
88
or a link to the tutorials (i.e., YouTube, etc.).

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
GitHub Tutorial
2-
===============
1+
Python GitHub Tutorial
2+
======================
33

44
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
55
:target: http://opensource.org/licenses/MIT
66

7-
This ``github_tutorial`` repository is an example of how to design
7+
This ``python_github_tutorial`` repository is an example of how to design
88
and structure a GitHub repository,
99
and an example of how to structure and document Python code
1010

@@ -72,6 +72,6 @@ input variables, attributes, methods, and outputs/output variables.
7272
:maxdepth: 2
7373

7474
reference/units
75-
reference/citing_github_tutorial
75+
reference/citing_python_github_tutorial
7676

7777

docs/reference/citing_github_tutorial.rst

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

0 commit comments

Comments
 (0)