Hitler began composing Mein Kampf (English translation: My Struggle) while sitting in Landsberg prison. He had been convicted of treason for his role in the infamous Beer Hall Putsch in which he and his minions attempted to stage a coup and grasp control of the government in Bavaria. It ended in disaster, with some allies deserting and others falling into the hands of the authorities. Hitler was sentenced to five years' imprisonment (he served only nine months). His time in the prison was not difficult. He was allowed guests and gifts, and was treated as something of a cult hero. He decided to put this leisure time to good use and so began dictating Volume One of his opus magnus to Rudolph Hess, a loyal member of the German National Socialist Party and fellow revolutionary.
The first part of Mein Kampf, subtitled "A Reckoning," is a 400-plus page diatribe on the problems besetting Germany—the French, who wished to dismember Germany; the lack of lebesraum, "living space," the need to expand east into Russia; and the influence of "mongrel" races. For Hitler, the state was not an economic entity, but a racial one. Racial purity was an absolute necessity for a revitalized Germany. "men do not perish as the result of lost wars, but by the loss... of pure blood."
As for leadership, Hitler's Third Reich would mimic the Prussian ideal of absolute authoritarian rule. "There must be no majority decisions, but only responsible persons... Surely every man will have advisers... but the decision will be made by one man."
So there it was: War with France, war with Russia, the elimination of "impure" races, and absolute dictatorship. Hitler laid out his political agenda a full 14 years before the outbreak of war. I remember reading Mein Kampf as a senior in High School and was shocked how the book could have been so ignored by the world, especially as Hitler gained power in the late 1920's.
Volume Two of Mein Kampf, focusing on national socialism, was published in 1927. Sales of the complete work remained mediocre throughout the 1920s. It was not until 1933, the first year of Hitler's tenure as chancellor of Germany, that sales soared to over 1 million. Its popularity reached the point where it became a ritual to give a newly married couples a copy.
Live Long and Prosper....