From 8e0139869a0e8775c8a099ff2c899ac90373261d Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 5 Apr 2017 09:51:51 +0200 Subject: [PATCH] docs: Move news.rng out of docs/schemas docs/schemas directory is meant for schemas which are installed on the system. The schema for the news file does not need to be installed. Store it along with the file it describes for simplicity. --- docs/{schemas => }/news.rng | 0 docs/news.xml | 2 +- tests/virschematest.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename docs/{schemas => }/news.rng (100%) diff --git a/docs/schemas/news.rng b/docs/news.rng similarity index 100% rename from docs/schemas/news.rng rename to docs/news.rng diff --git a/docs/news.xml b/docs/news.xml index 9c0dcfd23d..2a15b12365 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -17,7 +17,7 @@ Lines should be kept under 80 columns, and should not exceed 100 columns. - This file is validated against docs/schemas/news.rng schema. + This file is validated against docs/news.rng schema. Use the following template to add a new release section: diff --git a/tests/virschematest.c b/tests/virschematest.c index 1f990f7cd5..119d4ba395 100644 --- a/tests/virschematest.c +++ b/tests/virschematest.c @@ -236,7 +236,7 @@ mymain(void) DO_TEST_DIR("storagevol.rng", "storagevolxml2xmlin", "storagevolxml2xmlout", "storagevolschemadata"); - DO_TEST_FILE("news.rng", "../docs/news.xml"); + DO_TEST_FILE("../news.rng", "../docs/news.xml"); return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE; }