@@ -71,7 +71,6 @@ QJsonObject scm::ScmSkyCulture::toJson() const
7171{
7272 QJsonObject scJsonObj;
7373 scJsonObj[" id" ] = id;
74- scJsonObj[" region" ] = description.geoRegion ;
7574 // for some reason, the classification is inside an array, eg. ["historical"]
7675 QJsonArray classificationArray = QJsonArray::fromStringList (
7776 QStringList () << classificationTypeToString (description.classification ));
@@ -109,24 +108,27 @@ bool scm::ScmSkyCulture::saveDescriptionAsMarkdown(QFile &file)
109108
110109 QTextStream out (&file);
111110 out << " # " << desc.name << " \n\n " ;
112- out << " ## Authors\n " << desc.authors << " \n\n " ;
113- out << " ## License\n ### " << license.name << " \n " << license.description << " \n\n " ;
111+
114112 out << " ## Culture Description\n " << desc.cultureDescription << " \n\n " ;
115- out << " ## About\n " << desc.about << " \n\n " ;
116113
117- out << " ## Geographical Region\n " << desc.geoRegion << " \n\n " ;
118114 out << " ## Sky\n " << desc.sky << " \n\n " ;
119- out << " ## Moon and Sun\n " << desc.moonAndSun << " \n\n " ;
120- out << " ## Planets\n " << desc.planets << " \n\n " ;
121- out << " ## Zodiac\n " << desc.zodiac << " \n\n " ;
122- out << " ## Milky Way\n " << desc.milkyWay << " \n\n " ;
123- out << " ## Other Celestial Objects\n " << desc.otherObjects << " \n\n " ;
115+ out << " ### Moon and Sun\n " << desc.moonAndSun << " \n\n " ;
116+ out << " ### Planets\n " << desc.planets << " \n\n " ;
117+ out << " ### Zodiac\n " << desc.zodiac << " \n\n " ;
118+ out << " ### Constellations\n " << desc.constellations << " \n\n " ;
119+ out << " ### Milky Way\n " << desc.milkyWay << " \n\n " ;
120+ out << " ### Other Celestial Objects\n " << desc.otherObjects << " \n\n " ;
121+
122+ out << " ## About\n " << desc.about << " \n\n " ;
123+ out << " ### Authors\n " << desc.authors << " \n\n " ;
124+ out << " ### Acknowledgements\n " << desc.acknowledgements << " \n\n " ;
124125
125- out << " ## Constellations\n " << desc.constellations << " \n\n " ;
126126 out << " ## References\n " << desc.references << " \n\n " ;
127- out << " ## Acknowledgements \n " << desc. acknowledgements << " \n\n " ;
127+
128128 out << " ## Classification\n " << classificationTypeToString (desc.classification ) << " \n\n " ;
129129
130+ out << " ## License\n ### " << license.name << " \n " << license.description << " \n\n " ;
131+
130132 try
131133 {
132134 file.close ();
0 commit comments