Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #778 from macartur/fix_developer_doc
Browse files Browse the repository at this point in the history
Fix kytos path and display a message that empty section will be updated soon
  • Loading branch information
hdiogenes committed Jul 17, 2018
2 parents e54e76e + 3b1e391 commit 07988eb
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 10 deletions.
9 changes: 5 additions & 4 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ versions:

.PHONY: clean
clean:
rm -rf kytos.*
rm -rf ./developer/kytos_api/*
rm -rf $(BUILDDIR)/*

.PHONY: html
html:
$(PYTHON) home/make_home.py
sphinx-apidoc -o . ../kytos/ -d10 -M -T
sphinx-apidoc -o ./developer/kytos_api ../kytos/ -d10 -M -T
sed -i "/Submodules/,+1d" *.rst
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
Expand All @@ -90,7 +90,7 @@ html:
.PHONY: dirhtml
dirhtml:
$(PYTHON) home/make_home.py
sphinx-apidoc -o . ../kytos/ -d10 -M -T
sphinx-apidoc -o ./developer/kytos_api ../kytos/ -d10 -M -T
sed -i "/Submodules/,+1d" *.rst
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
Expand Down Expand Up @@ -284,9 +284,10 @@ dummy:
@echo
@echo "Build finished. Dummy builder generates no files."

.PHONY: livehtml
livehtml:
$(PYTHON) home/make_home.py
sphinx-apidoc -o . ../kytos/ -d10 -M -T
sphinx-apidoc -o ./developer/kytos_api ../kytos/ -d10 -M -T
sed -i "/Submodules/,+1d" *.rst
sphinx-autobuild --re-ignore "\.[^.]+" -r ".+~" -b dirhtml \
$(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml -z ../kytos
Expand Down
1 change: 0 additions & 1 deletion docs/admin/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ Kytos Summit is the main Kytos Project’s event. In addition to afull schedule
web-ui
upgrade_kytos
uninstall_kytos
monitoring_kytos
3 changes: 0 additions & 3 deletions docs/admin/monitoring_kytos.rst

This file was deleted.

2 changes: 2 additions & 0 deletions docs/developer/how_to_create_tests.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*******************
How to create tests
*******************

.. note:: This section will be updated soon.
2 changes: 1 addition & 1 deletion docs/developer/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Kytos Summit provides an opportunity for developers, contributors and other inte
intro
architecture
setup_develop_environment
Kytos API <../kytos>
Kytos API <./kytos_api/kytos>
creating_a_napp
how_to_create_tests
how_to_contribute
Expand Down
18 changes: 18 additions & 0 deletions docs/developer/intro.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
************
Introduction
************

This guide is intended to guide you in how to setup and
develop new features inside the Kytos Project. Please, before proceeding
make sure that you have read the
`Kytos introduction <https://docs.kytos.io/>` and
`Admin Guide <http://docs.kytos.io/https://docs.kytos.io/admin/index.html>`.

In this section you will learn about:

- :doc:`Architecture Overview </developer/architecture>`
- :doc:`Preparing your Development Environment </developer/setup_develop_environment/>`
- :doc:`Kytos API </developer/kytos_api/kytos>`
- :doc:`How to develop your NApp </developer/creating_a_napp/>`
- :doc:`How to create Tests </developer/creating_a_napp/>`
- :doc:`How to Contribute </developer/how_to_create_tests/>`
- :doc:`Hacking </developer/hacking/>`
- :doc:`Security </developer/security/>`
- :doc:`Python Openflow </developer/pyof/>`
2 changes: 2 additions & 0 deletions docs/developer/security.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
********
Security
********

.. note:: This section will be updated soon.
2 changes: 1 addition & 1 deletion kytos/core/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def listen_to(event, *events):
The event that will be listened to is always a string, but it can represent
a regular expression to match against multiple Event Types. All listened
events are documented in :doc:`developer/listened_events` section.
events are documented in :doc:`/developer/listened_events` section.
Example of usage:
Expand Down

0 comments on commit 07988eb

Please sign in to comment.