diff --git a/src/API.md b/API.md similarity index 100% rename from src/API.md rename to API.md diff --git a/Makefile.am b/Makefile.am index 5a15fc6..1253577 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ ACLOCAL_AMFLAGS = -I m4 -doc_DATA = README.md LICENSE -EXTRA_DIST = README.md LICENSE AUTHORS ChangeLog.md +doc_DATA = API.md README.md LICENSE +EXTRA_DIST = API.md README.md LICENSE AUTHORS ChangeLog.md DIST_SUBDIRS = examples tests SUBDIRS = src tests diff --git a/README.md b/README.md index 7c4217a..8e3e598 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,13 @@ libuEv | Simple event loop for Linux * [Introduction](#introduction) -* [API](src/API.md#api) - * [Create an Event Context](src/API.md#create-an-event-context) - * [Register an Event Watcher](src/API.md#register-an-event-watcher) - * [Start Event Loop](src/API.md#start-event-loop) - * [Summary](src/API.md#summary) -* [Using -luev](src/API.md#using--luev) -* [Joystick Example](src/API.md#joystick-example) +* [API](API.md#api) + * [Create an Event Context](API.md#create-an-event-context) + * [Register an Event Watcher](API.md#register-an-event-watcher) + * [Start Event Loop](API.md#start-event-loop) + * [Summary](API.md#summary) +* [Using -luev](API.md#using--luev) +* [Joystick Example](API.md#joystick-example) * [Build & Install](#build--install) * [Motivation](MOTIVATION.md#background) * [Origin & References](#origin--references) @@ -33,8 +33,7 @@ For details, see [this article][4] at [lwn.net](http://lwn.net). Documentation ------------- -The API documentation is available as a [separate document](src/API.md) -in the `src/` directory. +The API documentation is available as a [separate document](API.md). Build & Install diff --git a/src/README.md b/src/README.md index 56ce08b..7179280 120000 --- a/src/README.md +++ b/src/README.md @@ -1 +1 @@ -API.md \ No newline at end of file +../API.md \ No newline at end of file