Skip to content

Commit 159be78

Browse files
authored
Doc updates (#21)
Fixed: - typos in quickstart doc - disabled deployment to repository until authentication issue is fixed.
1 parent 138c734 commit 159be78

File tree

6 files changed

+43
-37
lines changed

6 files changed

+43
-37
lines changed

.travis.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ script:
1212
- cd ../
1313
- if [ "$TRAVIS_BRANCH" = "master" ]; then python setup.py sdist; fi
1414
- if [ "$TRAVIS_BRANCH" = "master" ]; then python -m twine upload --username $pypiusername --password $pypipassword dist/*; fi
15-
before_deploy:
16-
- git tag $TAGNAME
17-
deploy:
18-
provider: releases
19-
api_key:
20-
secure: $github_access_token
21-
file_glob: true
22-
file: docs/build/latex/*.pdf
23-
skip_cleanup: true
24-
on:
25-
repo: riscv/riscv-config
26-
branch: master
27-
tags: false
15+
#before_deploy:
16+
# - git tag $TAGNAME
17+
#deploy:
18+
# provider: releases
19+
# api_key:
20+
# secure: $github_access_token
21+
# file_glob: true
22+
# file: docs/build/latex/*.pdf
23+
# skip_cleanup: true
24+
# on:
25+
# repo: riscv/riscv-config
26+
# branch: master
27+
# tags: false

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## 2.0.1 - 2020-03-25
6+
### Fixed
7+
- typos in quickstart doc
8+
- disabled deployment to repository until authentication issue is fixed.
9+
510
## 2.0.0 - 2020-03-25
611
### Added
712
- adding support for warl fields and support

README.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,4 @@ RISC-V Configuration Validator
55

66
LICENSE: BSD-3 Clause.
77

8-
Latest Documentation of RISCV-Config:
9-
10-
* `HTML <https://riscv-config.readthedocs.io/>`_
11-
* `PDF <https://github.com/riscv/riscv-config/releases/latest/download/riscv_config.pdf>`_
8+
Latest Documentation of RISCV-Config: `HTML <https://riscv-config.readthedocs.io/>`_

docs/source/conf.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ def gen_schema_doc(infile, outfile):
2727

2828
rst_file.close()
2929

30+
def get_version():
31+
changelog = open('../../CHANGELOG.md','r').read()
32+
x = re.findall(r'##(.*?)-',changelog)[0]
33+
return str(x)
34+
3035
gen_schema_doc('../../riscv_config/schemas/schema_isa.yaml', 'schema_isa.rst')
3136
gen_schema_doc('../../riscv_config/schemas/schema_platform.yaml', 'schema_platform.rst')
3237

@@ -40,10 +45,9 @@ def gen_schema_doc(infile, outfile):
4045
copyright = '2019 InCore Semiconductors, IIT Madras'
4146
author = 'InCore Semiconductors Pvt. Ltd.'
4247

43-
# The short X.Y version
44-
version = '1.2.0'
48+
version = str(get_version())
4549
# The full version, including alpha/beta/rc tags
46-
release = 'beta'
50+
release = version
4751

4852

4953
# -- General configuration ---------------------------------------------------

docs/source/quickstart.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
Quickstart
33
##########
44

5-
This doc is meant to serve as a quick-guide to setup RISCOF and perform a sample compliance check
6-
between ``spike`` (DUT in this case) and ``riscvOVPsim`` (Golden model in this case).
5+
This doc is meant to serve as a quick-guide to setup RISCV-CONFIG and perform a \
6+
sample validation of target specifications.
77

88
Install Python Dependencies
99
===========================
1010

11-
RISCOF requires `pip` and `python` (>=3.7) to be available on your system. If you have issues, instead of
11+
RISCV-CONFIG requires `pip` and `python` (>=3.7) to be available on your system. If you have issues
1212
installing either of these directly on your system, we suggest using a virtual environment
1313
like `pyenv` to make things easy.
1414

@@ -42,15 +42,15 @@ Open a new terminal and create a virtual environment using the following
4242
.. code-block:: bash
4343
4444
$ pyenv install 3.7.0
45-
$ pyenv virtualenv 3.7.0 riscof_env
45+
$ pyenv virtualenv 3.7.0 riscv_config_env
4646
4747
4848
Now you can activate this virtual environment using the following command:
4949

5050
.. code-block:: bash
5151
52-
$ pyenv activate riscof_env
53-
$ python ==version
52+
$ pyenv activate riscv_config_env
53+
$ python --version
5454
5555
Install via PIP [users]
5656
=======================
@@ -62,33 +62,33 @@ performing the following steps.
6262
6363
$ pip install riscv_config
6464
65-
To update an already installed version of RISCOF to the latest version:
65+
To update an already installed version of RISCV-CONFIG to the latest version:
6666

6767
.. code-block:: bash
6868
6969
$ pip install -U riscv_config
7070
71-
To checkout a specific version of riscof:
71+
To checkout a specific version of riscv_config:
7272

7373
.. code-block:: bash
7474
75-
$ pip install riscv_config==1.x.x
75+
$ pip install riscv_config--1.x.x
7676
77-
Once you have RISCV_CONFIG installed, executing ``riscv_config ==help`` should print the following on the terminal:
77+
Once you have RISCV_CONFIG installed, executing ``riscv_config --help`` should print the following on the terminal:
7878

7979
.. code-block:: bash
8080
81-
riscv-config [-h] ==isa_spec YAML ==platform_spec YAML [==verbose]
81+
riscv-config [-h] --isa_spec YAML --platform_spec YAML [--verbose]
8282
8383
RISC-V Configuration Validator
8484
8585
optional arguments:
86-
==isa_spec YAML, -ispec YAML
86+
--isa_spec YAML, -ispec YAML
8787
The YAML which contains the ISA specs.
88-
==platform_spec YAML, -pspec YAML
88+
--platform_spec YAML, -pspec YAML
8989
The YAML which contains the Platfrorm specs.
90-
==verbose debug | info | warning | error
91-
-h, ==help show this help message and exit
90+
--verbose debug | info | warning | error
91+
-h, --help show this help message and exit
9292
9393
9494
@@ -105,7 +105,7 @@ performing the following steps.
105105
$ cd riscv_config
106106
$ pip3 install -r requirements.txt
107107
108-
Executing ``python -m riscv_config.main ==help`` should display the same help message as above.
108+
Executing ``python -m riscv_config.main --help`` should display the same help message as above.
109109

110110
Usage Example
111111
=============

riscv_config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from pkgutil import extend_path
22
__path__ = extend_path(__path__, __name__)
3-
__version__ = "2.0.0"
3+
__version__ = "2.0.1"

0 commit comments

Comments
 (0)